Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
get_user_by_usernameグループの機能に似たものが欲しいだけです。
get_user_by_username
いくつかのヒント: グループの名前は、 からアクセスできるグループの組み込み属性ですgroup->name。メタデータ関数が組み込み属性に対して機能しないようです。
group->name
Elgg 1.8.1 を使用しています
私はこの機能でこれを解決しました。Elgg へのプル リクエストに含めました。
同じことをより簡単に行うために使用することを提案するCashのコメントも参照してください。elgg_get_entities
elgg_get_entities