phpDocumentor SpoolTemplate
[ Back ] [ class tree: SpoolTemplate ] [ index: SpoolTemplate ] [ all elements ]

Class: CRow

Source Location: /sptpl_clsRow.php

Class CRow

Class Overview

sptpl_clsRow.php

Located in /sptpl_clsRow.php [line 37]



		
				Author(s):
		
		
		
Information Tags:
Version:  $Header: d:\cvs/classistd/sptpl/sptpl_clsRow.php,v 2.10 2005/03/02 21:00:54 Darvin Exp $
Copyright:  sptpl_clsRow.php is part of Sptpl project http://www.andrioli.com/en/sptpl.html and it is LGPL

Properties

Methods

[ Top ]
Direct descendents
Child Class Description
CRowHeader Particular CROw used as header line on the page
CRowFooter Particular CROw used as footer line on the page

[ Top ]
Property Summary
string   $Align   Orizontal alignment: right, center, left
integer   $ColPos   Column where start the row. This value is added to the column calculated
integere   $Column   No. of column where put the text
string   $ColumnSet   Which columnset should be used to print the current row Default: NONE, no columnset required.
object DataStorage   $DataMgr   reference to the instance of DataManager, created by the class sptpl
string   $FontId   Which font I should be used to print this row
integer   $RowPos   Row number, it specify the row namuber if the value for $VPos is 'absolute'
string   $RowText   Text for this row ready to be evaled
string   $ValueType   during row evaluation should I use the current value
string   $VPos   Vertical position (optional). Specify the position for the current row.

[ Top ]
Method Summary
CRow   CRow()   Class constructor
void   GetEvaledText()  
void   ParseXml()   Parse the row tag and its childs to set the intenal structure
void   WriteOut()   Write the text for this row. Actualy this function call the DataStorage to eval

[ Top ]
Properties
string   $Align [line 70]

Orizontal alignment: right, center, left

Default: left


[ Top ]
integer   $ColPos [line 77]

Column where start the row. This value is added to the column calculated

by the parameter align Default: 0


[ Top ]
integere   $Column [line 106]

No. of column where put the text

Default: 0


[ Top ]
string   $ColumnSet [line 100]

Which columnset should be used to print the current row Default: NONE, no columnset required.


[ Top ]
object DataStorage   $DataMgr [line 48]

reference to the instance of DataManager, created by the class sptpl


[ Top ]
string   $FontId [line 94]

Which font I should be used to print this row

Default: ''


[ Top ]
integer   $RowPos [line 64]

Row number, it specify the row namuber if the value for $VPos is 'absolute'

or 'relative'

API Tags:
See:  CRow::$VPos


[ Top ]
string   $RowText [line 43]

Text for this row ready to be evaled


[ Top ]
string   $ValueType [line 88]

during row evaluation should I use the current value

or the oldest (i.e when close one group sometime I need the values from the previous row Values: CURRENTVALUE: use the current value OLDVALUE : use the previous value Default: CURRENTVALUE


[ Top ]
string   $VPos [line 56]

Vertical position (optional). Specify the position for the current row.

Values: top,bottom,relative,absolute,newpage

API Tags:
See:  CRow::ParseXml()


[ Top ]
Methods
Constructor CRow  [line 117]

  CRow CRow( object DataStorage &$RefToDataMgr, [mixed $Cfg = NULL], [string $ValueType = CURRENTVALUE], object CXml2Array $Node  )

Class constructor

Parameters:
object DataStorage   &$RefToDataMgr:  Reference to the istance of CDataManeger made by the class sptpl.
object CXml2Array   $Node:  definition node for the current istance
string   $ValueType:  during row evaluation should I use the current value or the oldest (i.e when close one group somethime I need some value from the previous row

API Tags:
Access:  public


[ Top ]
GetEvaledText  [line 327]

  void GetEvaledText( )


API Tags:
Access:  public


[ Top ]
ParseXml  [line 143]

  void ParseXml( mixed $Cfg, object CXml2Array $Node  )

Parse the row tag and its childs to set the intenal structure

Parameters:
object CXml2Array   $Node: 

API Tags:
Access:  public


[ Top ]
WriteOut  [line 293]

  void WriteOut( object CPageMgr &$PageMgr  )

Write the text for this row. Actualy this function call the DataStorage to eval

the text, then it pass tha evalued text to the PageManager to perform the real output

Parameters:
object CPageMgr   &$PageMgr:  reference to PageManager

API Tags:
Access:  public


Redefined in descendants as:

[ Top ]

Documentation generated on Mon, 28 Mar 2005 15:13:21 +0200 by phpDocumentor 1.3.0RC3