39 array_walk_recursive(
$value,
function(&$v) {
47 if ($valuetype ==
'tags') {
51 if (
$value && $valuetype ==
'url' && !preg_match(
'~^https?\://~i',
$value)) {
85 'metadata_name' => $shortname,
102 foreach (
$value as $interval) {
104 $multiple = ($i > 1) ? TRUE : FALSE;
if(!is_array($accesslevel)) $profile_fields
if(! $owner||!($owner instanceof ElggUser)||! $owner->canEdit()) $input
foreach($profile_fields as $shortname=> $valuetype) $name
elgg_get_config($name, $site_guid=0)
Get an Elgg configuration value.
register_error($error)
Display an error on next page load.
elgg_trigger_event($event, $object_type, $object=null)
system_message($message)
Display a system message on next page load.
forward($location="", $reason='system')
Forward to $location.
get_default_access(ElggUser $user=null, array $input_params=array())
Gets the default access permission.
get_entity($guid)
Loads and returns an entity object from a guid.
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
elgg_strlen()
Wrapper function for mb_strlen().
elgg_html_decode($string)
Decode HTML markup into a raw text string.