| core_html

# Class: Bs_JsCruncher Source Location: /core/html/Bs_JsCruncher.class.php
### Class Overview
    Bs_Object
       |
       --Bs_JsCruncher
*********************************************************************** #### Author(s): #### Version: 4.3.$Revision: 1.2 $ $Date: 2003/10/29 17:48:38 $ #### Copyright: blueshoes.org | ### Variables $doCompressWhiteSpace $doRemoveComments | ### Methods Bs_JsCruncher compressWhiteSpace crunch removeComments
### 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 14] *********************************************************************** dependencies: none #### Tags:
copyright: | blueshoes.org
version: | 4.3.$Revision: 1.2 $ $Date: 2003/10/29 17:48:38 $
author: |
[ Top ] ### Class Variables #### $doCompressWhiteSpace = TRUE [line 26] #### Tags:
access: | public
Type: | mixed
[ Top ] #### $doRemoveComments = TRUE [line 20] #### Tags:
access: | public
Type: | mixed
[ Top ] ### Class Methods ### constructor Bs_JsCruncher [line 40]
`Bs_JsCruncher Bs_JsCruncher( )`
constructor [ Top ] ### method compressWhiteSpace [line 107]
`string compressWhiteSpace( string $s)`
#### Tags:
access: | public
#### Parameters:
string | $s |
[ Top ] ### method crunch [line 50]
`string crunch( string $input)`
#### Tags:
return: | output
access: | public
#### Parameters:
string | $input |
[ Top ] ### method removeComments [line 73]
`string removeComments( string $s)`
#### Tags:
access: | public
#### Parameters:
string | $s |
[ Top ] Documentation generated on Mon, 29 Dec 2003 21:11:37 +0100 by phpDocumentor 1.2.3