src/Controller/Component/ProcessComponent.php
public function getRequestVars($name, $primaryKey = self::PRIMARY_KEY)
    {
        $name       = Str::low(Inflector::singularize($name));
        $requestIds = (array) $this->_request->getData($name);
        $action     = $this->_request->getData('action');
        $ids        = $this->_getIds($requestIds, $primaryKey);

        return [$action, $ids];
    }
public function getRequestVars($name, $primaryKey = self::PRIMARY_KEY)
    {
        $name       = Str::low(Inflector::singularize($name));
        $requestIds = (array) $this->_request->getData($name);
        $action     = $this->_request->getData('action');
        $ids        = $this->_getIds($requestIds, $primaryKey);

        return [$action, $ids];
    }
public function getRequestVars ( $ name , $ primaryKey = self :: PRIMARY_KEY ) { $ name = Str :: low ( Inflector :: singularize ( $ name ) ) ; $ requestIds = ( array ) $ this -> _request -> getData ( $ name ) ; $ action = $ this -> _request -> getData ( 'action' ) ; $ ids = $ this -> _getIds ( $ requestIds , $ primaryKey ) ; return [ $ action , $ ids ] ; }
Get actual request vars for process.

@param   string $name
@param   string $primaryKey
@return  array
Get actual request vars for process .