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;
elgg_get_config($name, $site_guid=0)
Get an Elgg configuration value.
elgg_html_decode($string)
Decode HTML markup into a raw text string.
elgg_echo($message_key, $args=array(), $language="")
Given a message key, returns an appropriately translated full-text string.
if(!$owner||!($owner instanceof ElggUser)||!$owner->canEdit()) $input
elgg forward
Meant to mimic the php forward() function by simply redirecting the user to another page...
elgg_strlen()
Wrapper function for mb_strlen().
get_default_access(ElggUser $user=null, array $input_params=array())
Gets the default access permission.
if(!is_array($accesslevel)) $profile_fields
elgg system_message
Wrapper function for system_messages.
elgg register_error
Wrapper function for system_messages.
elgg_trigger_event($event, $object_type, $object=null)
foreach($profile_fields as $shortname=> $valuetype) $name
get_entity($guid)
Loads and returns an entity object from a guid.