Beispiel #1
0
 public function safeAttributes()
 {
     return array_merge(parent::safeAttributes(), self::attributes());
 }
Beispiel #2
0
 /**
  * Returns the list of all safeattribute names of token.
  * @return array list of attribute names.
  */
 public function safeAttributes()
 {
     return array_merge(parent::safeAttributes(), ['accessToken', 'expireTime', 'userId', 'accountId', 'role', 'language', 'enabledMods']);
 }
Beispiel #3
0
 /**
  * Returns the list of all safeattribute names of token.
  * @return array list of attribute names.
  */
 public function safeAttributes()
 {
     return array_merge(parent::safeAttributes(), ['accountId', 'articles', 'usedCount', 'type']);
 }