| plugins_onomastics

# Class: Bs_Om_OnoGraph Source Location: /plugins/onomastics/Bs_Om_OnoGraph.class.php
### Class Overview
    Bs_Object
       |
       --Bs_Om_OnoGraph
#### Author(s): andrej arn <at blueshoes dot org> #### Version: 4.3.$Revision: 1.3 $ $Date: 2003/11/08 23:16:26 $ #### Copyright: blueshoes.org | ### Variables $Bs_Om_OnomasticsServer $startPosX $startPosY $_bsDb | ### Methods Bs_Om_OnoGraph createGraph spitGraph _makeGraph
### Child classes: Bs_Om_OnoGraphHtml | ### 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 13] #### Tags:
version: | 4.3.$Revision: 1.3 $ $Date: 2003/11/08 23:16:26 $
copyright: | blueshoes.org
author: | andrej arn <at blueshoes dot org>
[ Top ] ### Class Variables #### $Bs_Om_OnomasticsServer = [line 24]
Type: | object
[ Top ] #### $startPosX = 20 [line 71]
Type: | mixed
[ Top ] #### $startPosY = 20 [line 72]
Type: | mixed
[ Top ] #### $_bsDb = [line 19]
Type: | object
[ Top ] ### Class Methods ### constructor Bs_Om_OnoGraph [line 79]
`Bs_Om_OnoGraph Bs_Om_OnoGraph( )`
constructor [ Top ] ### method createGraph [line 104]
`void createGraph( string $fileFullpath, string $name, int $limit, [int $cols = 4])`
returns the graph for the given name. #### Tags:
access: | public
Overridden in child classes as: Bs_Om_OnoGraphHtml::createGraph() creates the graph and returns it as html code. #### Parameters:
string | $fileFullpath |
string | $name |
int | $limit |
int | $cols |
[ Top ] ### method spitGraph [line 118]
`void spitGraph( string $name, int $limit, [int $cols = 4])`
same as createGraph but spits out the graph immediatly to the browser. #### Tags:
access: | public
Overridden in child classes as: Bs_Om_OnoGraphHtml::spitGraph() same as createGraph but spits out the graph immediatly to the browser. #### Parameters:
string | $name |
int | $limit |
int | $cols |
[ Top ] ### method _makeGraph [line 135]
`bool _makeGraph( mixed $name, int $limit, [int $cols = 4], [array $additionalNames = NULL])`
#### Tags:
return: | (FALSE if no such name, TRUE otherwise.)
access: | public
#### Parameters:
mixed | $name | (string, or the numeric ID)
int | $limit |
int | $cols |
array | $additionalNames | (array of ID's)
[ Top ] Documentation generated on Mon, 29 Dec 2003 21:12:21 +0100 by phpDocumentor 1.2.3