blueshoes php application framework and cms            core_lang
[ class tree: core_lang ] [ index: core_lang ] [ all elements ]

Class: Bs_HtmlTableParser

Source Location: /toolbox/html/tableparser/Bs_HtmlTableParser.class.php

Class Overview

Bs_Object
   |
   --Bs_HtmlTableParser

Emulate a JAVA object, sort of...


Author(s):

Version:

  • 4.3.$Revision: 1.3 $ $Date: 2003/10/29 17:47:48 $

Copyright:

  • blueshoes.org

Variables

Methods


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 32]
Emulate a JAVA object, sort of...

no dependencies here.




Tags:

copyright:  blueshoes.org
version:  4.3.$Revision: 1.3 $ $Date: 2003/10/29 17:47:48 $
author:  Sam Blum <at blueshoes dot org>, andrej arn <andrej at blueshoes dot org>


[ Top ]


Class Variables

$_tblNr =  -1

[line 34]


Type:   mixed


[ Top ]

$_theTable = array()

[line 47]

*********************************************************************** Structure: _theTable[$tblNr]['attr'] : A hash array holding the table attr. used in the <TABLE> tag.

" " [$row]['attr'] : A hash array holding the row attr. used in the <TR> tag. " " [$row][$col]['attr'] : A hash array holding the 'cell' attr. used in the <TD> tag. " " [$row][$col]['style'] : A hash array holding the 'cell' attr. used in the <SPAN STYLE= > tag. " " [$row][$col]['span_start']: If set this cell is the top left cell of a spaned area " " [$row][$col]['spaned'] : If TRUE this cell belongs to a spaned area. " " [$row][$col]['sub_table'] : Set to cascaging TABLE ID (given by $_tblNr) " " [$row][$col]['data'] : Table data



Type:   mixed


[ Top ]



Class Methods


constructor Bs_HtmlTableParser [line 53]

Bs_HtmlTableParser Bs_HtmlTableParser( )

***********************************************************************

Constructor




[ Top ]

method generateCode [line 290]

void generateCode( )



[ Top ]

method parse [line 65]

void parse( mixed &$data)

***********************************************************************

Parse a well formed HTML TABLE




[ Top ]

method _getTblSize [line 236]

void _getTblSize( mixed &$aHash)



[ Top ]

method _hash2AttrString [line 255]

void _hash2AttrString( mixed $aHash)



[ Top ]

method _hash2PhpCode [line 272]

void _hash2PhpCode( mixed $aHash, [mixed $indent = 0])



[ Top ]


Documentation generated on Mon, 29 Dec 2003 21:11:01 +0100 by phpDocumentor 1.2.3