ClassInterface INFA_OCSP_FORM

Description

interface to handle a (database) form object

Located in /db/forms/INFA_OCSP_FORM.phpclass (line 40)


	
			
Direct descendents
Class Description
 class INFA_CMS_PAGE_FORM openCSP interface INFA_CMS_PAGE_FORM
Method Summary
 boolean checkSubmitData ([string $method = ""], [boolean $debug = False], string $contrClass)
 OCSP_FRMCONTR &getControllObj ([string $contrClass = "OCSP_FRMCONTR"], [boolean $debug = False])
 array getFormCmdFields ([boolean $debug = False])
 OCSP_FRMCONTR_LIST &getListControll ([string $contrClass = "OCSP_FRMCONTR_LIST"], [boolean $debug = False])
 OCSP_FRMVIEW_LIST &getListView ([string $viewClass = "OCSP_FRMVIEW_LIST"], [boolean $debug = False])
 string getSubmitAction (int $mode, [string $type = 'ACTION'])
 OCSP_FRMVIEW &getViewObj ([string $viewClass = "OCSP_FRMVIEW"], [boolean $debug = False])
 void setControll ( &$aControll, [boolean $sync = True], [boolean $debug = False], OCSP_FRMCONTR $aControll)
 string setSubmitAction (int $mode, string $uri, [string $type = 'ACTION'])
Methods
checkSubmitData (line 54)
  • return: (True if no error found)
  • access: public
boolean checkSubmitData ([string $method = ""], [boolean $debug = False], string $contrClass)
  • string $method: (POST|GET)
  • string $contrClass: (sub)class Name of OCSP_FRMCONTR
  • boolean $debug
getControll (line 105)
OCSP_FRMCONTR &getControll ()
getControllObj (line 117)

instantiates a new class if $this->myControll not type of $contrClass

NOTE the class must exists or have it's code in __FILE__

OCSP_FRMCONTR &getControllObj ([string $contrClass = "OCSP_FRMCONTR"], [boolean $debug = False])
  • string $contrClass
  • boolean $debug
getFormCmdFields (line 96)

add some values to the forms (hidden) command fields

  • since: pk-07-12-17
array getFormCmdFields ([boolean $debug = False])
  • boolean $debug
getListControll (line 130)

if $contrClass is not set to "NO" a controll object will be created if none exists ($this->myControll) is empty

if $contrClass is set to "NO" $this->myControll is returned as is without checking that we

OCSP_FRMCONTR_LIST &getListControll ([string $contrClass = "OCSP_FRMCONTR_LIST"], [boolean $debug = False])
  • string $contrClass
  • boolean $debug
getListView (line 172)
OCSP_FRMVIEW_LIST &getListView ([string $viewClass = "OCSP_FRMVIEW_LIST"], [boolean $debug = False])
  • string $viewClass
  • boolean $debug
getSubmitAction (line 68)

get main commands for the form

used keywords:

  • js: execute a java script
  • default: open url

  • access: public
string getSubmitAction (int $mode, [string $type = 'ACTION'])
  • int $mode
  • string $type: ([ACTION|NEXT|RELOAD])
getView (line 153)
OCSP_FRMVIEW getView ()
getViewObj (line 165)

instantiates a new class if $this->myControll not type of $contrClass

NOTE the class must exists or have it's code in __FILE__

OCSP_FRMVIEW &getViewObj ([string $viewClass = "OCSP_FRMVIEW"], [boolean $debug = False])
  • string $viewClass
  • boolean $debug
setControll (line 144)

sets a controll

NOTE also changes the controll in $this->myView and sets the view in $aControll if $sync is True

  • access: public
void setControll ( &$aControll, [boolean $sync = True], [boolean $debug = False], OCSP_FRMCONTR $aControll)
  • OCSP_FRMCONTR $aControll
  • boolean $sync
  • boolean $debug
  • &$aControll
setSubmitAction (line 84)

sets a main cmmonad of the form

used keywords:

  • js: execute a java script
  • default: open url

  • access: public
string setSubmitAction (int $mode, string $uri, [string $type = 'ACTION'])
  • int $mode
  • string $uri
  • string $type: ([ACTION|NEXT|RELOAD])

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