public function _getMethodRoles($methodName) { if (self::$restrictAccess) { return array('amfphp_admin'); } }