public function clearErrors($channelName='')
    {
        $channel = $this->namespaceChannel($channelName);

        // Clear any existing errors for the channel
        $this->console['errors'][$channel] = array();
        $this->console['form'][$channel] = array();
    }
public function clearErrors($channelName='')
    {
        $channel = $this->namespaceChannel($channelName);

        // Clear any existing errors for the channel
        $this->console['errors'][$channel] = array();
        $this->console['form'][$channel] = array();
    }
public function clearErrors ( $ channelName = '' ) { $ channel = $ this -> namespaceChannel ( $ channelName ) ; // Clear any existing errors for the channel $ this -> console [ 'errors' ] [ $ channel ] = array ( ) ; $ this -> console [ 'form' ] [ $ channel ] = array ( ) ; }
Clears existing errors for a channel

@param string $channelName
Clears existing errors for a channel