initializeAttributes() protected method

Set subtype to 'file'.
protected initializeAttributes ( ) : void
return void
Exemplo n.º 1
0
 protected function initializeAttributes()
 {
     global $IZAPSETTINGS;
     parent::initializeAttributes();
     $this->attributes['subtype'] = 'izap_videos';
     $this->IZAPSETTINGS = $IZAPSETTINGS;
 }
Exemplo n.º 2
0
 /**
  * (non-PHPdoc)
  * @see ElggObject::initializeAttributes()
  */
 protected function initializeAttributes()
 {
     parent::initializeAttributes();
     $this->attributes['subtype'] = self::SUBTYPE;
     $this->attributes['owner_guid'] = elgg_get_site_entity()->guid;
     $this->attributes['container_guid'] = elgg_get_site_entity()->guid;
     $this->attributes['access_id'] = ACCESS_PUBLIC;
 }
Exemplo n.º 3
0
 protected function initializeAttributes()
 {
     parent::initializeAttributes();
     $this->attributes['subtype'] = "image";
 }
 protected function initializeAttributes()
 {
     parent::initializeAttributes();
     $this->attributes['subtype'] = self::SUBTYPE;
 }
Exemplo n.º 5
0
 protected function initializeAttributes()
 {
     parent::initializeAttributes();
     // This should have been a unique subtype (see above)
     $this->attributes['subtype'] = "file";
 }
Exemplo n.º 6
0
 protected function initializeAttributes()
 {
     parent::initializeAttributes();
     $this->attributes['subtype'] = 'showcaseimg';
     $this->attributes['access_id'] = ACCESS_PRIVATE;
 }
Exemplo n.º 7
0
 protected function initializeAttributes()
 {
     parent::initializeAttributes();
     $this->attributes['subtype'] = "plugin_release";
 }
Exemplo n.º 8
0
 protected function initializeAttributes()
 {
     parent::initializeAttributes();
     $this->attributes['subtype'] = "video_source";
 }
Exemplo n.º 9
0
 protected function initializeAttributes()
 {
     parent::initializeAttributes();
     $this->attributes['subtype'] = 'izap_video';
 }
Exemplo n.º 10
0
 /**
 Initialise the attributes array to include the type,subtype
 	 * title, and description.
 	 *
 	 * @return void
 */
 protected function initializeAttributes()
 {
     parent::initializeAttributes();
     $this->attributes['subtype'] = get_class($this);
 }
 protected function initializeAttributes()
 {
     parent::initializeAttributes();
     $this->attributes['subtype'] = "upload_users_file";
 }