protected function getRequired($scope = 'Index', $method = Doozr_Http::REQUEST_METHOD_GET)
    {
        // prepare storage on method/verb level
        if (!isset($this->required[$method])) {
            return [];
        }

        // prepare storage on scope level
        if (!isset($this->required[$method][$scope])) {
            return [];
        }

        return $this->required[$method][$scope];
    }
protected function getRequired($scope = 'Index', $method = Doozr_Http::REQUEST_METHOD_GET)
    {
        // prepare storage on method/verb level
        if (!isset($this->required[$method])) {
            return [];
        }

        // prepare storage on scope level
        if (!isset($this->required[$method][$scope])) {
            return [];
        }

        return $this->required[$method][$scope];
    }
protected function getRequired ( $ scope = 'Index' , $ method = Doozr_Http :: REQUEST_METHOD_GET ) { // prepare storage on method/verb level if ( ! isset ( $ this -> required [ $ method ] ) ) { return [ ] ; } // prepare storage on scope level if ( ! isset ( $ this -> required [ $ method ] [ $ scope ] ) ) { return [ ] ; } return $ this -> required [ $ method ] [ $ scope ] ; }
Returns all required fields of presenter.

@param string $scope  The scope used for lookup
@param string $method The method (HTTP verb) to use for lookup

@author Benjamin Carl <opensource@clickalicious.de>

@return array List of required fields
Returns all required fields of presenter .