public function getActionsOptions($override = false)
    {
        //make sure we only run this once and then return the cached version
        if (empty($this->actionsOptions) || $override) {
            $this->actionsOptions = array();

            //loop over the actions to build the list
            foreach ($this->getActions($override) as $name => $action) {
                $this->actionsOptions[] = $action->getOptions(true);
            }
        }

        return $this->actionsOptions;
    }
public function getActionsOptions($override = false)
    {
        //make sure we only run this once and then return the cached version
        if (empty($this->actionsOptions) || $override) {
            $this->actionsOptions = array();

            //loop over the actions to build the list
            foreach ($this->getActions($override) as $name => $action) {
                $this->actionsOptions[] = $action->getOptions(true);
            }
        }

        return $this->actionsOptions;
    }
public function getActionsOptions ( $ override = false ) { //make sure we only run this once and then return the cached version if ( empty ( $ this -> actionsOptions ) || $ override ) { $ this -> actionsOptions = array ( ) ; //loop over the actions to build the list foreach ( $ this -> getActions ( $ override ) as $ name => $ action ) { $ this -> actionsOptions [ ] = $ action -> getOptions ( true ) ; } } return $ this -> actionsOptions ; }
Gets all actions as arrays of options.

@param bool $override

@return array of Action options
Gets all actions as arrays of options .