| applications_cms

# Class: Bs_Renderer Source Location: /applications/cms/Bs_Renderer.class.php
### Class Overview
    Bs_Object
       |
       --Bs_Renderer
Renderer Class #### Author(s): Sam Blum <at blueshoes dot org>, andrej arn <andrej at blueshoes dot org> #### Version: 4.3.$Revision: 1.2 $ $Date: 2003/08/09 15:22:34 $ #### Copyright: blueshoes.org | ### Variables $_APP $_failedReason $_logger | ### Methods Bs_Renderer getFailedReason render
### Inherited Variables | ### Inherited Methods #### Class: Bs_Object Bs_Object::Bs_Object() Bs_Object::getErrors() Basic error handling: Get *all* errors as string array from the global Bs_Error-error stack. Bs_Object::getLastError() Basic error handling: Get last error string from the global Bs_Error-error stack. Bs_Object::getLastErrors() Basic error handling: Get last errors string array from the global Bs_Error-error stack sinc last call of getLastErrors(). Bs_Object::persist() Persists this object by serializing it and saving it to a file with unique name. Bs_Object::setError() Basic error handling: Push an error string on the global Bs_Error-error stack. Bs_Object::toHtml() Dumps the content of this object to a string using PHP's var_dump(). Bs_Object::toString() Dumps the content of this object to a string using PHP's var_dump(). Bs_Object::unpersist() Fetches an object that was persisted with persist()
### Class Details [line 17] Renderer Class #### Tags:
copyright: | blueshoes.org
pattern: | singleton: (pseudostatic)
access: | public
version: | 4.3.$Revision: 1.2 $ $Date: 2003/08/09 15:22:34 $
author: | Sam Blum <at blueshoes dot org>, andrej arn <andrej at blueshoes dot org>
[ Top ] ### Class Variables #### $_APP = [line 20]
Type: | mixed
[ Top ] #### $_failedReason = [line 29] vector telling why the something failed. #### Tags:
see: | Bs_Renderer::getFailedReason()
Type: | vector
[ Top ] #### $_logger = [line 22]
Type: | mixed
[ Top ] ### Class Methods ### constructor Bs_Renderer [line 35]
`Bs_Renderer Bs_Renderer( )`
Constructor. [ Top ] ### method getFailedReason [line 166]
`array getFailedReason( )`
tells what went wrong. see error-documents-howto.doc the vector has 3 elements. element 0 is the standard http error code, element 1 is the bs additional code, element 2 is for for additional information, if used at all. it is an array (hash or vector) and it may be empty. example: array(410, 1, array('datetime')); would mean that the page expired on 'datetime' and thus is gone. #### Tags:
return: | (vector)
access: | public
[ Top ] ### method render [line 49]
`string render( mixed $node)`
renders the page and returns it as a string. #### Tags:
throws: | bool FALSE
access: | public
[ Top ] Documentation generated on Mon, 29 Dec 2003 21:12:33 +0100 by phpDocumentor 1.2.3