36 $this->attributes[
'time_created'] = null;
58 return $this->
$name !== null;
79 abstract public function getURL();
86 abstract public function save() : bool;
93 abstract public function delete();
101 return $this->attributes[
'time_created'];
126 #[\ReturnTypeWillChange] 128 $this->
valid = (
false !== reset($this->attributes));
138 #[\ReturnTypeWillChange] 140 return current($this->attributes);
150 #[\ReturnTypeWillChange] 152 return key($this->attributes);
162 #[\ReturnTypeWillChange] 164 $this->
valid = (
false !==
next($this->attributes));
174 #[\ReturnTypeWillChange] 193 #[\ReturnTypeWillChange] 195 if (array_key_exists(
$key, $this->attributes)) {
209 #[\ReturnTypeWillChange] 211 if (array_key_exists(
$key, $this->attributes)) {
227 #[\ReturnTypeWillChange] 229 if (array_key_exists(
$key, $this->attributes)) {
244 #[\ReturnTypeWillChange] 246 return array_key_exists(
$offset, $this->attributes);
253 return $this->getSystemLogID();
284 $this->attributes =
$data;
getDatabase()
Provides a pointer to the database object.
offsetSet($key, $value)
Array access interface.
valid()
Iterator interface.
getTimeCreated()
Returns the UNIX epoch time that this entity was created.
next()
Iterator interface.
$params
Saves global plugin settings.
if(!$user||!$user->canDelete()) $name
c Accompany it with the information you received as to the offer to distribute corresponding source complete source code means all the source code for all modules it plus any associated interface definition plus the scripts used to control compilation and installation of the executable as a special the source code distributed need not include anything that is normally and so on of the operating system on which the executable unless that component itself accompanies the executable If distribution of executable or object code is made by offering access to copy from a designated then offering equivalent access to copy the source code from the same place counts as distribution of the source even though third parties are not compelled to copy the source along with the object code You may not or distribute the Program except as expressly provided under this License Any attempt otherwise to sublicense or distribute the Program is void
if(elgg_trigger_plugin_hook('usersettings:save', 'user', $hooks_params, true)) foreach($request->validation() ->all() as $item) $data
Collection item interface.
getID()
{Get unique item identifier within a collection.string|int}
offsetUnset($key)
Array access interface.
trait TimeUsing
Adds methods for setting the current time (for testing)
__isset($name)
Test if property is set either as an attribute or metadata.
getPriority()
{Get priority (weight) of the item within a collection.int}
__serialize()
Called during serialization.
initializeAttributes()
Initialize the attributes array.
current()
Iterator interface.
A generic class that contains shared code among , , and .
offsetGet($key)
Array access interface.
save()
Save this data to the appropriate database table.
if($container instanceof ElggGroup &&$container->guid!=elgg_get_page_owner_guid()) $key
__unset($name)
Unset a property from metadata or attribute.
_elgg_services()
Get the global service provider.
toObject(array $params=[])
Get a plain old object copy for public consumption.
offsetExists($offset)
Array access interface.
__unserialize(array $data)
Called during unserialization.
getURL()
Get a URL for this object.
rewind()
Iterator interface.