public function data()
    {
        $workingWith = $this->isGet() ? $this->_GET : $this->_POST;
        $data = (array)Hash::get($workingWith, "data");

        // The previous line will have ignored uploaded files.
        // Added them to the array if we find something.
        if ($this->hasFiles()) {
            return $this->addFilesList($data);
        }

        return $data;
    }
public function data()
    {
        $workingWith = $this->isGet() ? $this->_GET : $this->_POST;
        $data = (array)Hash::get($workingWith, "data");

        // The previous line will have ignored uploaded files.
        // Added them to the array if we find something.
        if ($this->hasFiles()) {
            return $this->addFilesList($data);
        }

        return $data;
    }
public function data ( ) { $ workingWith = $ this -> isGet ( ) ? $ this -> _GET : $ this -> _POST ; $ data = ( array ) Hash :: get ( $ workingWith , "data" ) ; // The previous line will have ignored uploaded files. // Added them to the array if we find something. if ( $ this -> hasFiles ( ) ) { return $ this -> addFilesList ( $ data ) ; } return $ data ; }
Returns the POST form parameters created using the FormHelper
@return array
Returns the POST form parameters created using the FormHelper