Elgg
Version 1.9
|
Public Member Functions | |
__set ($name, $value) | |
Set an attribute. More... | |
setValue ($value, $value_type= '') | |
Set the value of the extender. More... | |
__get ($name) | |
Gets an attribute. More... | |
getOwnerGUID () | |
Get the GUID of the extender's owner entity. More... | |
getOwner () | |
Return the guid of the entity's owner. More... | |
getOwnerEntity () | |
Get the entity that owns this extender. More... | |
getEntity () | |
Get the entity this describes. More... | |
canEdit ($user_guid=0) | |
Returns if a user can edit this entity extender. More... | |
toObject () | |
{} More... | |
getExportableValues () | |
Return an array of fields which can be exported. More... | |
export () | |
Export this object. More... | |
getSystemLogID () | |
Return an identification for the object for storage in the system log. More... | |
getType () | |
Return a type of extension. More... | |
getSubtype () | |
Return a subtype. More... | |
getURL () | |
Get a url for this extender. More... | |
Public Member Functions inherited from ElggData | |
__isset ($name) | |
Test if property is set either as an attribute or metadata. More... | |
getURL () | |
Get a URL for this object. More... | |
save () | |
Save this data to the appropriate database table. More... | |
delete () | |
Delete this data. More... | |
getTimeCreated () | |
Returns the UNIX epoch time that this entity was created. More... | |
toObject () | |
Get a plain old object copy for public consumption. More... | |
getClassName () | |
Return the class name of the object. More... | |
getObjectOwnerGUID () | |
Return the GUID of the owner of this object. More... | |
rewind () | |
Iterator interface. More... | |
current () | |
Iterator interface. More... | |
key () | |
Iterator interface. More... | |
next () | |
Iterator interface. More... | |
valid () | |
Iterator interface. More... | |
offsetSet ($key, $value) | |
Array access interface. More... | |
offsetGet ($key) | |
Array access interface. More... | |
offsetUnset ($key) | |
Array access interface. More... | |
offsetExists ($offset) | |
Array access interface. More... | |
Public Member Functions inherited from Loggable | |
getObjectFromID ($id) | |
For a given ID, return the object associated with it. More... | |
Protected Member Functions | |
initializeAttributes () | |
(non-PHPdoc) More... | |
set ($name, $value, $value_type= '') | |
Set an attribute. More... | |
get ($name) | |
Returns an attribute. More... | |
Protected Member Functions inherited from ElggData | |
initialise_attributes ($pre18_api=true) | |
Initialise the attributes array. More... | |
initializeAttributes () | |
Initialize the attributes array. More... | |
getDatabase () | |
Provides a pointer to the database object. More... | |
get ($name) | |
Fetch the specified attribute. More... | |
set ($name, $value) | |
Set the specified attribute. More... | |
Additional Inherited Members | |
Protected Attributes inherited from ElggData | |
$attributes = array() | |
The main attributes of an entity. More... | |
$valid = false | |
Definition at line 26 of file ElggExtender.php.
ElggExtender::__get | ( | $name | ) |
Gets an attribute.
string | $name | Name |
Definition at line 100 of file ElggExtender.php.
ElggExtender::__set | ( | $name, | |
$value | |||
) |
Set an attribute.
string | $name | Name |
mixed | $value | Value |
Definition at line 53 of file ElggExtender.php.
|
abstract |
Returns if a user can edit this entity extender.
int | $user_guid | The GUID of the user doing the editing (defaults to currently logged in user) |
ElggExtender::export | ( | ) |
Export this object.
Implements Exportable.
Definition at line 229 of file ElggExtender.php.
|
protected |
Returns an attribute.
string | $name | Name |
Definition at line 130 of file ElggExtender.php.
ElggExtender::getEntity | ( | ) |
Get the entity this describes.
Definition at line 169 of file ElggExtender.php.
ElggExtender::getExportableValues | ( | ) |
Return an array of fields which can be exported.
Implements Exportable.
Definition at line 210 of file ElggExtender.php.
ElggExtender::getOwner | ( | ) |
Return the guid of the entity's owner.
Definition at line 150 of file ElggExtender.php.
ElggExtender::getOwnerEntity | ( | ) |
Get the entity that owns this extender.
Definition at line 160 of file ElggExtender.php.
ElggExtender::getOwnerGUID | ( | ) |
Get the GUID of the extender's owner entity.
Definition at line 140 of file ElggExtender.php.
ElggExtender::getSubtype | ( | ) |
Return a subtype.
For metadata & annotations this is the 'name' and for relationship this is the relationship type.
Implements Loggable.
Definition at line 269 of file ElggExtender.php.
ElggExtender::getSystemLogID | ( | ) |
Return an identification for the object for storage in the system log.
This id must be an integer.
Implements Loggable.
Definition at line 250 of file ElggExtender.php.
ElggExtender::getType | ( | ) |
Return a type of extension.
Implements Loggable.
Definition at line 259 of file ElggExtender.php.
ElggExtender::getURL | ( | ) |
Get a url for this extender.
Plugins can register for the 'extender:url', <type> plugin hook to customize the url for an annotation or metadata.
Definition at line 281 of file ElggExtender.php.
|
protected |
(non-PHPdoc)
Definition at line 35 of file ElggExtender.php.
|
protected |
Set an attribute.
string | $name | Name |
mixed | $value | Value |
string | $value_type | Value type |
Definition at line 83 of file ElggExtender.php.
ElggExtender::setValue | ( | $value, | |
$value_type = '' |
|||
) |
Set the value of the extender.
mixed | $value | The value being set |
string | $value_type | The type of the : 'integer' or 'text' |
Definition at line 68 of file ElggExtender.php.
ElggExtender::toObject | ( | ) |
{}
Definition at line 187 of file ElggExtender.php.