コード例 #1
0
ファイル: Profile.php プロジェクト: kingsj/core
 /**
  * Return list of allowed targets
  *
  * @return array
  */
 public static function getAllowedTargets()
 {
     $list = parent::getAllowedTargets();
     $list[] = 'profile';
     return $list;
 }
コード例 #2
0
ファイル: RecoverPassword.php プロジェクト: kirkbauer2/kirkxc
 /**
  * Return list of allowed targets
  *
  * @return array
  */
 public static function getAllowedTargets()
 {
     $list = parent::getAllowedTargets();
     $list[] = 'recover_password';
     return $list;
 }