initializeAttributes() 보호된 메소드

This is vital to distinguish between metadata and base parameters.
protected initializeAttributes ( ) : void
리턴 void
예제 #1
0
 /**
  * Initialize the attributes array to include the type,
  * title, and description.
  *
  * @return void
  */
 protected function initializeAttributes()
 {
     parent::initializeAttributes();
     $this->attributes['type'] = "object";
     $this->attributes += self::getExternalAttributes();
     $this->tables_split = 2;
 }
 /**
  * Initialise the attributes array to include the type,
  * title, and description.
  *
  * @return void
  */
 protected function initializeAttributes()
 {
     parent::initializeAttributes();
     $this->attributes['type'] = "object";
     $this->attributes['title'] = NULL;
     $this->attributes['description'] = NULL;
     $this->attributes['tables_split'] = 2;
 }
예제 #3
0
 /**
  * Sets the type to group.
  *
  * @return void
  */
 protected function initializeAttributes()
 {
     parent::initializeAttributes();
     $this->attributes['type'] = "group";
     $this->attributes['name'] = null;
     $this->attributes['description'] = null;
     $this->tables_split = 2;
 }
예제 #4
0
 /**
  * Initialise the attributes array.
  * This is vital to distinguish between metadata and base parameters.
  *
  * Place your base parameters here.
  *
  * @return void
  */
 protected function initializeAttributes()
 {
     parent::initializeAttributes();
     $this->attributes['type'] = "site";
     $this->attributes['name'] = NULL;
     $this->attributes['description'] = NULL;
     $this->attributes['url'] = NULL;
     $this->attributes['tables_split'] = 2;
 }
예제 #5
0
 /**
  * Initialise the attributes array.
  * This is vital to distinguish between metadata and base parameters.
  *
  * Place your base parameters here.
  *
  * @return void
  */
 protected function initializeAttributes()
 {
     parent::initializeAttributes();
     $this->attributes['type'] = "user";
     $this->attributes['name'] = NULL;
     $this->attributes['username'] = NULL;
     $this->attributes['password'] = NULL;
     $this->attributes['salt'] = NULL;
     $this->attributes['email'] = NULL;
     $this->attributes['language'] = NULL;
     $this->attributes['code'] = NULL;
     $this->attributes['banned'] = "no";
     $this->attributes['admin'] = 'no';
     $this->attributes['tables_split'] = 2;
 }
예제 #6
0
 /**
  * Initialize the attributes array.
  * This is vital to distinguish between metadata and base attributes.
  *
  * @return void
  */
 protected function initializeAttributes()
 {
     parent::initializeAttributes();
     $this->attributes['type'] = "user";
     $this->attributes['name'] = null;
     $this->attributes['username'] = null;
     $this->attributes['password'] = null;
     $this->attributes['salt'] = null;
     $this->attributes['email'] = null;
     $this->attributes['language'] = null;
     $this->attributes['banned'] = "no";
     $this->attributes['admin'] = 'no';
     $this->attributes['prev_last_action'] = null;
     $this->attributes['last_login'] = null;
     $this->attributes['prev_last_login'] = null;
     $this->tables_split = 2;
 }
예제 #7
0
 /**
  * Initialize the attributes array.
  * This is vital to distinguish between metadata and base attributes.
  *
  * @return void
  */
 protected function initializeAttributes()
 {
     parent::initializeAttributes();
     $this->attributes['type'] = "site";
     $this->attributes += self::getExternalAttributes();
 }