本文整理汇总了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;
}
示例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;
}
示例3: initializeAttributes
protected function initializeAttributes()
{
parent::initializeAttributes();
$this->attributes['subtype'] = "image";
}
示例4: initializeAttributes
protected function initializeAttributes()
{
parent::initializeAttributes();
$this->attributes['subtype'] = self::SUBTYPE;
}
示例5: initializeAttributes
protected function initializeAttributes()
{
parent::initializeAttributes();
$this->attributes['subtype'] = 'showcaseimg';
$this->attributes['access_id'] = ACCESS_PRIVATE;
}
示例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);
}