public function &getFormErrors($channel = '')
    {
        // Uses the passed channel or fallback to the current selected channel
        $channel = $this->namespaceChannel($channel);

        if (!isset($this->console['form'][$channel])) {
            $this->console['form'][$channel] = array();
        }

        return $this->console['form'][$channel];
    }
public function &getFormErrors($channel = '')
    {
        // Uses the passed channel or fallback to the current selected channel
        $channel = $this->namespaceChannel($channel);

        if (!isset($this->console['form'][$channel])) {
            $this->console['form'][$channel] = array();
        }

        return $this->console['form'][$channel];
    }
public function & getFormErrors ( $ channel = '' ) { // Uses the passed channel or fallback to the current selected channel $ channel = $ this -> namespaceChannel ( $ channel ) ; if ( ! isset ( $ this -> console [ 'form' ] [ $ channel ] ) ) { $ this -> console [ 'form' ] [ $ channel ] = array ( ) ; } return $ this -> console [ 'form' ] [ $ channel ] ; }
Get form errors by channel

@param  string $channel - (optional) Channel to look for form errors in, if omitted the current channel is used

@return array
Get form errors by channel