HTML_CSS
[ class tree: HTML_CSS ] [ index: HTML_CSS ] [ all elements ]

Class: HTML_CSS_Error

Source Location: /HTML_CSS-1.5.4/CSS/Error.php

Class Overview

PEAR_Error
   |
   --HTML_CSS_Error

This class creates a css error object, extending the PEAR_Error class.


Author(s):

Version:

  • Release: 1.5.4

Copyright:

  • 2005-2009 Laurent Laville

Methods


Inherited Variables

Inherited Methods


Class Details

[line 59]
This class creates a css error object, extending the PEAR_Error class.


[ Top ]


Method Detail

__construct (Constructor)   [line 99]

HTML_CSS_Error __construct( [string $message = null], [int $code = null], [int $mode = null], [mixed $options = null], [string $userinfo = null])

Constructor (ZE2)
  • Since: version 1.0.0 (2006-06-24)
  • Access: public

Parameters:

string   $message   —  (optional) message
int   $code   —  (optional) error code
int   $mode   —  (optional) error mode, one of: PEAR_ERROR_RETURN, PEAR_ERROR_PRINT, PEAR_ERROR_DIE, PEAR_ERROR_TRIGGER, PEAR_ERROR_CALLBACK or PEAR_ERROR_EXCEPTION
mixed   $options   —  (optional) error level, _OR_ in the case of PEAR_ERROR_CALLBACK, the callback function or object/method tuple.
string   $userinfo   —  (optional) additional user/debug info

[ Top ]

HTML_CSS_Error (Constructor)   [line 77]

HTML_CSS_Error HTML_CSS_Error( [string $message = null], [int $code = null], [int $mode = null], [mixed $options = null], [string $userinfo = null])

Constructor (ZE1)
  • Since: version 1.0.0 (2006-06-24)
  • Access: public

Parameters:

string   $message   —  (optional) message
int   $code   —  (optional) error code
int   $mode   —  (optional) error mode, one of: PEAR_ERROR_RETURN, PEAR_ERROR_PRINT, PEAR_ERROR_DIE, PEAR_ERROR_TRIGGER, PEAR_ERROR_CALLBACK or PEAR_ERROR_EXCEPTION
mixed   $options   —  (optional) error level, _OR_ in the case of PEAR_ERROR_CALLBACK, the callback function or object/method tuple.
string   $userinfo   —  (optional) additional user/debug info

[ Top ]

getLevel   [line 157]

int getLevel( )

Get error level from an error object
  • Return: error level
  • Since: version 1.0.0 (2006-06-24)
  • Access: public

[ Top ]

log   [line 169]

void log( )

Default callback function/method from an error object
  • Since: version 1.0.0 (2006-06-24)
  • Access: public

[ Top ]

sprintContextExec   [line 194]

string sprintContextExec( string $format)

Returns the context of execution formatted.
  • Since: version 1.0.0 (2006-06-24)
  • Access: public

Parameters:

string   $format   —  the context of execution format

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:32:07 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.