Beispiel #1
0
 /**
  * Initialise the attributes array. 
  * This is vital to distinguish between metadata and base parameters.
  * 
  * Place your base parameters here.
  */
 protected function initialise_attributes()
 {
     parent::initialise_attributes();
     $this->attributes['type'] = "object";
     $this->attributes['title'] = "";
     $this->attributes['description'] = "";
     $this->attributes['tables_split'] = 2;
 }
Beispiel #2
0
 /**
  * Initialise the attributes array. 
  * This is vital to distinguish between metadata and base parameters.
  * 
  * Place your base parameters here.
  */
 protected function initialise_attributes()
 {
     parent::initialise_attributes();
     $this->attributes['type'] = "site";
     $this->attributes['name'] = "";
     $this->attributes['description'] = "";
     $this->attributes['url'] = "";
     $this->attributes['tables_split'] = 2;
 }
 /**
  * Initialise the attributes array. 
  * This is vital to distinguish between metadata and base parameters.
  * 
  * Place your base parameters here.
  */
 protected function initialise_attributes()
 {
     parent::initialise_attributes();
     $this->attributes['type'] = "user";
     $this->attributes['name'] = "";
     $this->attributes['username'] = "";
     $this->attributes['password'] = "";
     $this->attributes['salt'] = "";
     $this->attributes['email'] = "";
     $this->attributes['language'] = "";
     $this->attributes['code'] = "";
     $this->attributes['banned'] = "no";
     $this->attributes['tables_split'] = 2;
 }