Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
Loggable.php
Go to the documentation of this file.
1 <?php
15 interface Loggable {
22  public function getSystemLogID();
23 
30  public function getClassName();
31 
37  public function getType();
38 
45  public function getSubtype();
46 
56  public function getObjectFromID($id);
57 }
getSubtype()
Return a subtype.
getClassName()
Return the class name of the object.
getObjectFromID($id)
For a given ID, return the object associated with it.
getType()
Return the type of the object - eg.
getSystemLogID()
Return an identification for the object for storage in the system log.
if(!$collection_name) $id
Definition: add.php:17