/** * Returns the list of attribute names of the model. * @return array list of attribute names. */ public function attributeNames() { return array_merge(parent::attributeNames(), array('role', 'user_id', 'sid', 'sid_expiration')); }
/** * Returns the list of attribute names of the model. * @return array list of attribute names. */ public function attributeNames() { return array_merge(parent::attributeNames(), array('name', 'properties', 'is_authentication_required', 'allowed_roles', 'subscriber_source', 'event_source', 'create_date')); }