protected $_auto = array ( array('aid','checkUser'), ); public function checkUser() { return $_SESSION[C('USER_AUTH_KEY')]; }