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

Class: RDF

Source Location: /RDF-0.2.0/RDF.php

Class Overview




Methods


Inherited Variables

Inherited Methods


Class Details

[line 181]


[ Top ]


Method Detail

errorMessage   [line 245]

string errorMessage( int $value)

Return a textual error message for a RAP error code.
  • Return: error message
  • Access: public

Parameters:

int   $value   —  error code

[ Top ]

factory   [line 183]

void factory( $class, &$param)


Parameters:

   $class   — 
   &$param   — 

[ Top ]

isError   [line 271]

void isError( $value)


Parameters:

   $value   — 

[ Top ]

raiseError   [line 223]

object a &raiseError( [mixed $code = null], [int $mode = null], [mixed $options = null], [string $userinfo = null])

This method is used to communicate an error and invoke error callbacks etc. Basically a wrapper for PEAR::raiseError without the message string.
  • Return: PEAR error object
  • See: PEAR_Error

Parameters:

mixed   $code   —  integer error code, or a PEAR error object (all other parameters are ignored if this parameter is an object
int   $mode   —  error mode, see PEAR_Error docs
mixed   $options   —  If error mode is PEAR_ERROR_TRIGGER, this is the error level (E_USER_NOTICE etc). If error mode is PEAR_ERROR_CALLBACK, this is the callback function, either as a function name, or as an array of an object and method name. For other error modes this parameter is ignored.
string   $userinfo   —  Extra debug information. Defaults to the last query and native error code.

[ Top ]


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