Class OCSP_FRMCONTR_PEAR_DATAGRID

Description

openCSP class OCSP_FRMCONTR_PEAR_DATAGRID

Located in /db/forms/OCSP_FRMCONTR_PEAR_DATAGRID.phpclass (line 48)

OCSP_OBJ
   |
   --OCSP_FRMCONTR
      |
      --OCSP_FRMCONTR_LIST
         |
         --OCSP_FRMCONTR_PEAR_DATAGRID
Variable Summary
Method Summary
 OCSP_FRMCONTR_PEAR_DATAGRID __construct ()
 unknown &getDataGrid ([boolean $debug = False])
 void getListRows ([ $offset = 0], [ $limit = PEAR_DATAGRID_MAXLIMIT], [ $debug = False])
 int getNofListRows ([ $debug = False])
 string getOrderBy ([boolean $debug = False])
 void setDataGridSort (string $sort)
 void setLimit ( $limit, int $limit;)
 void setOffset (int $offset)
Variables
string $encoding = 'ISO-8859-15' (line 112)

the encodung

  • access: protected
string $myDataGridSort = "" (line 91)

special sort prepended to the default list sort

  • access: protected
Structures_DataGrid $myPearDataGrid = Null (line 74)

the data grid

  • access: protected
int $myPearDataLimit = 0 (line 105)

pear data limit

  • access: protected
int $myPearDataOffset = 0 (line 98)

pear data offset

  • access: protected
PEAR_DATAGRID_DATASOURCE_OCSP_FRMCONTR_LIST $myPearDataSource = Null (line 81)

the data source

  • access: protected

Inherited Variables

Inherited from OCSP_FRMCONTR_LIST

OCSP_FRMCONTR_LIST::$listLoadTS
OCSP_FRMCONTR_LIST::$lstObjValCols
OCSP_FRMCONTR_LIST::$lstObjValTS
OCSP_FRMCONTR_LIST::$lstQuery
OCSP_FRMCONTR_LIST::$lstTables
OCSP_FRMCONTR_LIST::$lst_groupValues
OCSP_FRMCONTR_LIST::$lst_limit
OCSP_FRMCONTR_LIST::$lst_offset
OCSP_FRMCONTR_LIST::$lst_orderBy
OCSP_FRMCONTR_LIST::$lst_pageingUrl
OCSP_FRMCONTR_LIST::$myListIdx
OCSP_FRMCONTR_LIST::$myListKey
OCSP_FRMCONTR_LIST::$myListValues
OCSP_FRMCONTR_LIST::$myRowCmds
OCSP_FRMCONTR_LIST::$tbl_footerCmds
OCSP_FRMCONTR_LIST::$tbl_rowBtnCmds
OCSP_FRMCONTR_LIST::$tbl_sortLink

Inherited from OCSP_FRMCONTR

OCSP_FRMCONTR::$checkRights_hasDBRightsSet
OCSP_FRMCONTR::$checkRights_userRights
OCSP_FRMCONTR::$curRow
OCSP_FRMCONTR::$myActionURL
OCSP_FRMCONTR::$myCommands
OCSP_FRMCONTR::$myDBObj
OCSP_FRMCONTR::$myFilter
OCSP_FRMCONTR::$myForm
OCSP_FRMCONTR::$myjOCSPHash
OCSP_FRMCONTR::$myReloadUrl
OCSP_FRMCONTR::$myView
OCSP_FRMCONTR::$rowPopulateTS
OCSP_FRMCONTR::$userCanShowMethod

Inherited from OCSP_OBJ

OCSP_OBJ::$global_currentUser
OCSP_OBJ::$global_defaultDBObj_read
OCSP_OBJ::$global_defaultDBObj_write
OCSP_OBJ::$staticClassVars
Methods
Constructor __construct (line 122)

constructor

  • access: public
OCSP_FRMCONTR_PEAR_DATAGRID __construct ()

Redefinition of:
OCSP_FRMCONTR::__construct()
getDataGrid (line 154)

returns the data grid with the source binded

  • access: public
unknown &getDataGrid ([boolean $debug = False])
  • boolean $debug
getDataSource (line 136)

returns the grid data source object

  • access: public
PEAR_DATAGRID_DATASOURCE_OCSP_FRMCONTR_LIST &getDataSource ([ $debug = False])
  • $debug
getListRows (line 261)
  • access: public
void getListRows ([ $offset = 0], [ $limit = PEAR_DATAGRID_MAXLIMIT], [ $debug = False])
  • $offset
  • $limit
  • $debug
getNofListRows (line 250)

returns the number of total rows

  • access: public
int getNofListRows ([ $debug = False])
  • $debug

Redefinition of:
OCSP_FRMCONTR_LIST::getNofListRows()
getOrderBy (line 175)

returns the order by string

appends $this->myDataGridSort

  • return: (mySQL)
  • access: public
string getOrderBy ([boolean $debug = False])
  • boolean $debug

Redefinition of:
OCSP_FRMCONTR_LIST::getOrderBy()
setDataGridSort (line 227)

sets the data grid sort

note: forces a reload of the list values

  • access: public
void setDataGridSort (string $sort)
  • string $sort
setLimit (line 210)

sets the limit

  • access: public
void setLimit ( $limit, int $limit;)
  • int $limit;
  • $limit

Redefinition of:
OCSP_FRMCONTR_LIST::setLimit()
setOffset (line 192)

sets the offset

  • access: public
void setOffset (int $offset)
  • int $offset

Redefinition of:
OCSP_FRMCONTR_LIST::setOffset()

Inherited Methods

Inherited From OCSP_FRMCONTR_LIST

 OCSP_FRMCONTR_LIST::addCmdButton()
 OCSP_FRMCONTR_LIST::addFooterCommand()
 OCSP_FRMCONTR_LIST::checkAutopageing()
 OCSP_FRMCONTR_LIST::getCmdButtons()
 OCSP_FRMCONTR_LIST::getColCmd()
 OCSP_FRMCONTR_LIST::getColLink()
 OCSP_FRMCONTR_LIST::getColLinkEnd()
 OCSP_FRMCONTR_LIST::getFilterWhere()
 OCSP_FRMCONTR_LIST::getFooterLinks()
 OCSP_FRMCONTR_LIST::getHeadColEvents()
 OCSP_FRMCONTR_LIST::getHeadRowEvents()
 OCSP_FRMCONTR_LIST::getLimit()
 OCSP_FRMCONTR_LIST::getListGroups()
 OCSP_FRMCONTR_LIST::getListKey()
 OCSP_FRMCONTR_LIST::getListQuery()
 OCSP_FRMCONTR_LIST::getListRow()
 OCSP_FRMCONTR_LIST::getListValues()
 OCSP_FRMCONTR_LIST::getNofBtnCols()
 OCSP_FRMCONTR_LIST::getNofListRows()
 OCSP_FRMCONTR_LIST::getNofTotalRows()
 OCSP_FRMCONTR_LIST::getOffset()
 OCSP_FRMCONTR_LIST::getOrderBy()
 OCSP_FRMCONTR_LIST::getPageingBackButton()
 OCSP_FRMCONTR_LIST::getPageingNext()
 OCSP_FRMCONTR_LIST::getRowButtons()
 OCSP_FRMCONTR_LIST::getRowCmd()
 OCSP_FRMCONTR_LIST::getRowId()
 OCSP_FRMCONTR_LIST::getTableEvents()
 OCSP_FRMCONTR_LIST::getTableId()
 OCSP_FRMCONTR_LIST::initList()
 OCSP_FRMCONTR_LIST::invalidateValues()
 OCSP_FRMCONTR_LIST::loadListObjectValues()
 OCSP_FRMCONTR_LIST::loadListValues()
 OCSP_FRMCONTR_LIST::setFooterCmdArr()
 OCSP_FRMCONTR_LIST::setLimit()
 OCSP_FRMCONTR_LIST::setListKey()
 OCSP_FRMCONTR_LIST::setListQuery()
 OCSP_FRMCONTR_LIST::setOffset()
 OCSP_FRMCONTR_LIST::setOrderBy()
 OCSP_FRMCONTR_LIST::setRowCmd()
 OCSP_FRMCONTR_LIST::valuesAreLoaded()

Inherited From OCSP_FRMCONTR

 OCSP_FRMCONTR::__construct()
 OCSP_FRMCONTR::addFilter()
 OCSP_FRMCONTR::checkRights()
 OCSP_FRMCONTR::getActionURL()
 OCSP_FRMCONTR::getAjaxObj()
 OCSP_FRMCONTR::getCurrentRow()
 OCSP_FRMCONTR::getCurRow()
 OCSP_FRMCONTR::getCurValue()
 OCSP_FRMCONTR::getDBObj()
 OCSP_FRMCONTR::getFilter()
 OCSP_FRMCONTR::getMyForm()
 OCSP_FRMCONTR::getObjectValues()
 OCSP_FRMCONTR::getReloadUrl()
 OCSP_FRMCONTR::getView()
 OCSP_FRMCONTR::jOCSP_getfrmHash()
 OCSP_FRMCONTR::jOCSP_setfrmHash()
 OCSP_FRMCONTR::parseFieldTmpl()
 OCSP_FRMCONTR::parseRowTmpl()
 OCSP_FRMCONTR::populateRow()
 OCSP_FRMCONTR::rowIsPopulated()
 OCSP_FRMCONTR::saveCurRow()
 OCSP_FRMCONTR::setActionURL()
 OCSP_FRMCONTR::setAjaxObj()
 OCSP_FRMCONTR::setCommand()
 OCSP_FRMCONTR::setCurRow()
 OCSP_FRMCONTR::setCurRowValue()
 OCSP_FRMCONTR::setFilter()
 OCSP_FRMCONTR::setMyForm()
 OCSP_FRMCONTR::setObjectValues()
 OCSP_FRMCONTR::setReloadUrl()
 OCSP_FRMCONTR::setView()
 OCSP_FRMCONTR::set_userCanShowMethod()
 OCSP_FRMCONTR::unsetFilter()
 OCSP_FRMCONTR::validateBlockSubmit()
 OCSP_FRMCONTR::validateSubmit()

Inherited From OCSP_OBJ

 OCSP_OBJ::castObj()
 OCSP_OBJ::cloneMe()
 OCSP_OBJ::currentUser()
 OCSP_OBJ::dbConnect()
 OCSP_OBJ::defaultDBObj()
 OCSP_OBJ::defaultReadDBObj()
 OCSP_OBJ::defaultWriteDBObj()
 OCSP_OBJ::getConf()
 OCSP_OBJ::getDBObj()
 OCSP_OBJ::get_myClassConstant()
 OCSP_OBJ::get_myObject_vars()
 OCSP_OBJ::get_mySourceFile()
 OCSP_OBJ::isConnected()
 OCSP_OBJ::isMultiByteStr()
 OCSP_OBJ::isUTF8()
 OCSP_OBJ::setConf()
 OCSP_OBJ::setDBObj()
 OCSP_OBJ::set_myObject_vars()
 OCSP_OBJ::set_myVarsFrom()
Class Constants

Inherited Constants

Inherited from OCSP_OBJ

OCSP_OBJ::CLASS_SRC_FILE

Documentation generated on Thu, 08 Jan 2009 17:46:33 +0100 by phpDocumentor 1.4.0a2