/** * Initialize base attributes * * @see ElggObject::initializeAttributes() * * @return void */ protected function initializeAttributes() { parent::initializeAttributes(); $this->attributes["subtype"] = self::SUBTYPE; $this->attributes["owner_guid"] = elgg_get_config("site_guid"); $this->attributes["container_guid"] = elgg_get_config("site_guid"); }
/** * Set subtype to 'plugin' * * @return void */ protected function initializeAttributes() { parent::initializeAttributes(); $this->attributes['subtype'] = "plugin"; // plugins must be public. $this->access_id = ACCESS_PUBLIC; }
protected function initializeAttributes() { parent::initializeAttributes(); $this->attributes['subtype'] = 'hjfield'; $this->attributes['owner_guid'] = elgg_get_site_entity()->guid; $this->attributes['access_id'] = ACCESS_PUBLIC; }
protected function initializeAttributes() { parent::initializeAttributes(); $this->siteDomain = get_site_domain($CONFIG->site_guid); $this->site = elgg_get_site_entity(); $this->approvedDomains = ['forces.gc.ca', 'test.gc.ca']; }
function initializeAttributes() { parent::initializeAttributes(); $this->userGuid = $this->getUserGuid(); $this->user = $this->getUser(); $this->userName = $this->getUserName(); }
protected function initializeAttributes() { parent::initializeAttributes(); $this->attributes['access_id'] = ACCESS_PUBLIC; $this->attributes['owner_guid'] = elgg_get_site_entity()->getGUID(); $this->attributes['container_guid'] = elgg_get_site_entity()->getGUID(); }
/** * Initialize base attributes * * @see ElggObject::initializeAttributes() * * @return void */ protected function initializeAttributes() { parent::initializeAttributes(); $this->attributes["subtype"] = self::SUBTYPE; $this->attributes["access_id"] = ACCESS_PRIVATE; $this->status = self::OPEN; }
protected function initializeAttributes() { global $CONFIG; parent::initializeAttributes(); $this->attributes['access_id'] = ACCESS_PUBLIC; $this->attributes['owner_guid'] = $CONFIG->site_guid; $this->attributes['container_guid'] = $CONFIG->site_guid; }
/** * (non-PHPdoc) * @see ElggObject::initializeAttributes() */ public function initializeAttributes() { parent::initializeAttributes(); $site = elgg_get_site_entity(); $this->attributes['subtype'] = self::SUBTYPE; $this->attributes['owner_guid'] = $site->getGUID(); $this->attributes['access_id'] = ACCESS_LOGGED_IN; $this->order = time(); }
/** * overrule / extend some parent functions * * @return void * * @see ElggObject::initializeAttributes() */ protected function initializeAttributes() { parent::initializeAttributes(); $site = elgg_get_site_entity(); $this->attributes["subtype"] = self::SUBTYPE; $this->attributes["access_id"] = ACCESS_PUBLIC; $this->attributes["owner_guid"] = $site->getGUID(); $this->attributes["container_guid"] = $site->getGUID(); }
/** * Initializes attributes for this class * * @return void * * @see ElggObject::initializeAttributes() */ public function initializeAttributes() { parent::initializeAttributes(); $site = elgg_get_site_entity(); $this->attributes['subtype'] = self::SUBTYPE; $this->attributes['owner_guid'] = $site->getGUID(); $this->attributes['container_guid'] = $site->getGUID(); $this->attributes['access_id'] = ACCESS_PRIVATE; }
/** * Set subtype to upgrade * * @return null */ public function initializeAttributes() { parent::initializeAttributes(); $this->attributes['subtype'] = 'elgg_upgrade'; // unowned $this->attributes['container_guid'] = 0; $this->attributes['owner_guid'] = 0; $this->is_completed = 0; }
/** * Set subtype to widget. * * @return void */ protected function initializeAttributes() { parent::initializeAttributes(); $this->attributes['subtype'] = "widget"; }
protected function initializeAttributes() { parent::initializeAttributes(); $this->attributes['subtype'] = "tidypics_batch"; }
/** * @see ElggObject::initializeAttributes() */ protected function initializeAttributes() { parent::initializeAttributes(); $this->attributes['subtype'] = "remote_plugin_project"; $this->attributes['access_id'] = ACCESS_PUBLIC; }
/** * Set subtype */ protected function initializeAttributes() { parent::initializeAttributes(); $this->attributes['subtype'] = "task_pool"; }
/** * Set subtype to wire * * @return void */ protected function initializeAttributes() { parent::initializeAttributes(); $this->attributes['subtype'] = 'wire'; }
protected function initializeAttributes() { parent::initializeAttributes(); $this->attributes['subtype'] = "plugin_project"; }
function initializeAttributes() { parent::initializeAttributes(); }
/** * Set subtype */ protected function initializeAttributes() { parent::initializeAttributes(); $this->attributes['subtype'] = $this::SUBTYPE; }
protected function initializeAttributes() { parent::initializeAttributes(); $this->attributes['subtype'] = "hjsegment"; $this->attributes['access_id'] = ACCESS_PUBLIC; }
protected function initializeAttributes() { parent::initializeAttributes(); $this->attributes['subtype'] = "hjfilefolder"; }
/** * (non-PHPdoc) * @see ElggObject::initializeAttributes() */ function initializeAttributes() { parent::initializeAttributes(); $this->attributes['subtype'] = self::SUBTYPE; }
/** * initializes the default class attributes * * @return void */ protected function initializeAttributes() { parent::initializeAttributes(); $this->attributes['subtype'] = self::SUBTYPE; $this->attributes['access_id'] = ACCESS_PUBLIC; }
protected function initializeAttributes() { parent::initializeAttributes(); $this->attributes['subtype'] = 'showcase'; $this->attributes['access_id'] = ACCESS_PRIVATE; }
function initializeAttributes() { parent::initializeAttributes(); $this->attributes['subtype'] = 'answer'; }
/** Override */ protected function initializeAttributes() { parent::initializeAttributes(); $this->attributes['subtype'] = "notification"; }
protected function initializeAttributes() { parent::initializeAttributes(); // override the default file subtype. $this->attributes['subtype'] = 'admin_note'; }
protected function initializeAttributes() { parent::initializeAttributes(); $this->attributes["subtype"] = self::SUBTYPE; }
/** * */ protected function initializeAttributes() { parent::initializeAttributes(); $this->attributes['subtype'] = 'scheduling_poll'; }