| applications_websearchengine

# Class: Bs_Wse_WebSearchEngine Source Location: /applications/websearchengine/Bs_Wse_WebSearchEngine.class.php
### Class Overview
    Bs_Object
       |
       --Bs_Wse_WebSearchEngine
WebSearchEngine Class. #### Author(s): andrej arn <at blueshoes dot org> #### Version: 4.3.$Revision: 1.2 $ $Date: 2003/08/09 15:22:35 $ #### Copyright: blueshoes.org | ### Variables $Bs_Is_IndexServer | ### Methods Bs_Wse_WebSearchEngine getProfile getSearcher getWalker setProfile
### 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 23] WebSearchEngine Class. base class for all indexing and searching. acts as a clearing house for profiles, walkers and searchers. offers utility methods. is a singleton. dependencies: Bs_Is_IndexServer, Bs_Wse_Profile, Bs_Wse_Walker, Bs_Wse_Searcher #### Tags:
copyright: | blueshoes.org
pattern: | singleton
version: | 4.3.$Revision: 1.2 $ $Date: 2003/08/09 15:22:35 $
author: | andrej arn <at blueshoes dot org>
[ Top ] ### Class Variables #### $Bs_Is_IndexServer = [line 31] reference to singleton. gets set in the constructor. #### Tags:
access: | public
Type: | object
[ Top ] ### Class Methods ### constructor Bs_Wse_WebSearchEngine [line 62]
`Bs_Wse_WebSearchEngine Bs_Wse_WebSearchEngine( )`
constructor [ Top ] ### method getProfile [line 126]
`&object &getProfile( string $profileName)`
returns a reference to the profile for the given profile name. #### Tags:
throws: | bool FALSE if profile not loaded.
access: | public
#### Parameters:
string | $profileName |
[ Top ] ### method getSearcher [line 108]
`&object &getSearcher( string $profileName)`
returns a reference to the searcher for the given profile name. #### Tags:
throws: | bool FALSE if profile not loaded.
access: | public
#### Parameters:
string | $profileName |
[ Top ] ### method getWalker [line 90]
`&object &getWalker( string $profileName)`
returns a reference to the walker for the given profile name. #### Tags:
throws: | bool FALSE if profile not loaded.
access: | public
#### Parameters:
string | $profileName |
[ Top ] ### method setProfile [line 78]
`void setProfile( object &$profile)`
adds the given profile into the clearing house. #### Tags:
access: | public
#### Parameters:
object | &$profile | (instance of Bs_Wse_Profile.)
[ Top ] Documentation generated on Mon, 29 Dec 2003 21:13:27 +0100 by phpDocumentor 1.2.3