20 'name' =>
'entity_guid',
31 'name' =>
'comment_guid',
38 '#type' =>
'fieldset',
39 'align' =>
'horizontal',
43 '#class' =>
'elgg-field-stretch',
44 'name' =>
'generic_comment',
58 '#type' =>
'longtext',
60 'name' =>
'generic_comment',
63 'editor_type' =>
'simple',
75 'class' =>
'elgg-button-cancel',
81 '#type' =>
'fieldset',
82 'align' =>
'horizontal',
canEdit(int $user_guid=0)
Can a user edit this entity?
elgg_extract($key, $array, $default=null, bool $strict=true)
Checks for $array[$key] and returns its value if it exists, else returns $default.
elgg_import_esm(string $name)
Helper functions for external files like css/js.
elgg_echo(string $message_key, array $args=[], string $language='')
Elgg language module Functions to manage language and translations.
elgg_view_field(array $params=[])
Renders a form field, usually with a wrapper element, a label, help text, etc.
elgg_set_form_footer(string $footer='')
Sets form footer and defers its rendering until the form view and extensions have been rendered.
elgg_view(string $view, array $vars=[], string $viewtype='')
Return a parsed view.
elgg_is_logged_in()
Returns whether or not the user is currently logged in.