src/Lib/AuthActionsTrait.php
public function getAuthActions() {
		if (!$this->_AuthActions) {
			if (Configure::load('auth_actions') === false) {
				trigger_error('AuthActions: Could not load config/auth_actions.php', E_USER_WARNING);
			}

			$actionConfig = Configure::read('auth_actions');
			$publicActionsConfig = Configure::read('public_actions');
			$options = Configure::read('auth_settings');
			if (!is_array($options)) {
				$options = [];
			}
			if (!is_array($publicActionsConfig)) {
				$publicActionsConfig = [];
			}

			$this->_AuthActions = new AuthActions($actionConfig, $publicActionsConfig, $options);
		}
		return $this->_AuthActions;
	}
public function getAuthActions() {
		if (!$this->_AuthActions) {
			if (Configure::load('auth_actions') === false) {
				trigger_error('AuthActions: Could not load config/auth_actions.php', E_USER_WARNING);
			}

			$actionConfig = Configure::read('auth_actions');
			$publicActionsConfig = Configure::read('public_actions');
			$options = Configure::read('auth_settings');
			if (!is_array($options)) {
				$options = [];
			}
			if (!is_array($publicActionsConfig)) {
				$publicActionsConfig = [];
			}

			$this->_AuthActions = new AuthActions($actionConfig, $publicActionsConfig, $options);
		}
		return $this->_AuthActions;
	}
public function getAuthActions ( ) { if ( ! $ this -> _AuthActions ) { if ( Configure :: load ( 'auth_actions' ) === false ) { trigger_error ( 'AuthActions: Could not load config/auth_actions.php' , E_USER_WARNING ) ; } $ actionConfig = Configure :: read ( 'auth_actions' ) ; $ publicActionsConfig = Configure :: read ( 'public_actions' ) ; $ options = Configure :: read ( 'auth_settings' ) ; if ( ! is_array ( $ options ) ) { $ options = [ ] ; } if ( ! is_array ( $ publicActionsConfig ) ) { $ publicActionsConfig = [ ] ; } $ this -> _AuthActions = new AuthActions ( $ actionConfig , $ publicActionsConfig , $ options ) ; } return $ this -> _AuthActions ; }
Instance getter for the AuthActions instance

@return AuthActions
Instance getter for the AuthActions instance