public function setI5Error($errNum, $errCat = I5_CAT_PHP, $errMsg = '', $errDesc = '')
    {
        // the array (eventually returned by i5_error()
        // likes to have both numeric and alphanumeric keys.
        $i5ErrorArray = array(0=>$errNum,     1=>$errCat,      2=>$errMsg,    3=>$errDesc,
            'num'=>$errNum, 'cat'=>$errCat, 'msg'=>$errMsg, 'desc'=>$errDesc);

        self::$_i5Error = $i5ErrorArray;
    }
public function setI5Error($errNum, $errCat = I5_CAT_PHP, $errMsg = '', $errDesc = '')
    {
        // the array (eventually returned by i5_error()
        // likes to have both numeric and alphanumeric keys.
        $i5ErrorArray = array(0=>$errNum,     1=>$errCat,      2=>$errMsg,    3=>$errDesc,
            'num'=>$errNum, 'cat'=>$errCat, 'msg'=>$errMsg, 'desc'=>$errDesc);

        self::$_i5Error = $i5ErrorArray;
    }
public function setI5Error ( $ errNum , $ errCat = I5_CAT_PHP , $ errMsg = '' , $ errDesc = '' ) { // the array (eventually returned by i5_error() // likes to have both numeric and alphanumeric keys. $ i5ErrorArray = array ( 0 => $ errNum , 1 => $ errCat , 2 => $ errMsg , 3 => $ errDesc , 'num' => $ errNum , 'cat' => $ errCat , 'msg' => $ errMsg , 'desc' => $ errDesc ) ; self :: $ _i5Error = $ i5ErrorArray ; }
Set error information for last action.

@param int    $errNum    Error number (according to old toolkit). Zero/false if no error
@param string    $errCat    Category of error
@param string $errMsg    Error message (often a CPF code but sometimes just a message)
@param string $errDesc   Longer description of error
@return void
Set error information for last action .