當前位置: 首頁>>代碼示例>>PHP>>正文


PHP ElggFile::initializeAttributes方法代碼示例

本文整理匯總了PHP中ElggFile::initializeAttributes方法的典型用法代碼示例。如果您正苦於以下問題:PHP ElggFile::initializeAttributes方法的具體用法?PHP ElggFile::initializeAttributes怎麽用?PHP ElggFile::initializeAttributes使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在ElggFile的用法示例。


在下文中一共展示了ElggFile::initializeAttributes方法的6個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: initializeAttributes

 protected function initializeAttributes()
 {
     global $IZAPSETTINGS;
     parent::initializeAttributes();
     $this->attributes['subtype'] = 'izap_videos';
     $this->IZAPSETTINGS = $IZAPSETTINGS;
 }
開發者ID:iionly,項目名稱:izap_videos,代碼行數:7,代碼來源:izap_videos.php

示例2: initializeAttributes

 /**
  * (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;
 }
開發者ID:coldtrick,項目名稱:asset_library,代碼行數:12,代碼來源:AssetFile.php

示例3: initializeAttributes

 protected function initializeAttributes()
 {
     parent::initializeAttributes();
     $this->attributes['subtype'] = "image";
 }
開發者ID:pleio,項目名稱:tidypics,代碼行數:5,代碼來源:TidypicsImage.php

示例4: initializeAttributes

 protected function initializeAttributes()
 {
     parent::initializeAttributes();
     $this->attributes['subtype'] = self::SUBTYPE;
 }
開發者ID:serega3000,項目名稱:elgg_gallery_field,代碼行數:5,代碼來源:GalleryFieldImage.php

示例5: initializeAttributes

 protected function initializeAttributes()
 {
     parent::initializeAttributes();
     $this->attributes['subtype'] = 'showcaseimg';
     $this->attributes['access_id'] = ACCESS_PRIVATE;
 }
開發者ID:elgg,項目名稱:showcase,代碼行數:6,代碼來源:ElggShowcaseImg.php

示例6: initializeAttributes

 /**
 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);
 }
開發者ID:socialweb,項目名稱:PiGo,代碼行數:11,代碼來源:IzapObject.php


注:本文中的ElggFile::initializeAttributes方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。