Class helpdeskTimeInfo

Description

TimeInfo class implementing S.

TimeInfo class implementing S.A.M.E. properties

Located in /timeinfo.php (line 109)

helpdeskObject
   |
   --helpdeskTimeInfo
Variable Summary
 string $description
 string $title
 array $values
Method Summary
 void __construct ()
 array enumKeys ()
 array enumKeyTitles ()
 string form (boolean $enabledS)
 void init (array $ar, boolean $fromDB)
 string view ()
Variables
string $description (line 125)

description for forms

description for forms

  • access: public
string $title (line 120)

Title when TI is displayed in a form

Title when TI is displayed in a form

  • var: plain text
  • access: public
array $values (line 115)

Indexed array of S.

Indexed array of S.A.M.E. helpdeskTimeValues

  • access: public
Methods
Constructor __construct (line 151)

constructor MUST run to initialize SAME array

constructor MUST run to initialize SAME array

void __construct ()
enumKeys (line 133)

Enumerate S.

Enumerate S.A.M.E. properties. Defining the array as a global doesn't work (why?) so I return this from a method. It belongs in the class anyway

array enumKeys ()
enumKeyTitles (line 142)

Enumerate the titles of the S.

Enumerate the titles of the S.A.M.E. properties

array enumKeyTitles ()
form (line 179)

Builds the form representation of a helpdesk_timeinfo

Builds the form representation of a helpdesk_timeinfo

  • return: HTML form code
string form (boolean $enabledS)
  • boolean $enabledS: If function show the S column, is it enabled ?

Redefinition of:
helpdeskObject::form()
implement the equivalent of hook_form for the class
init (line 164)

initialize fields in existing timeinfo from param array

initialize fields in existing timeinfo from param array

void init (array $ar, boolean $fromDB)
  • array $ar: S.A.M.E. timestamps. Cheating: it should be an object
  • boolean $fromDB

Redefinition of:
helpdeskObject::init()
initialize existing class instance from passed values
view (line 210)

display a timeinfo, typically for hook_view

display a timeinfo, typically for hook_view

  • return: HTML
string view ()

Redefinition of:
helpdeskObject::view()
implement the equivalent of hook_view for the class, but return the produced HTML

Inherited Methods

Inherited From helpdeskObject

 helpdeskObject::form()
 helpdeskObject::init()
 helpdeskObject::node_name()
 helpdeskObject::view()

Documentation generated on Tue, 01 Nov 2005 23:15:03 +0100 by phpDocumentor 1.3.0RC3