DcmPage Class Reference

List of all members.

Public Member Functions

 DcmPage ($strPageName= '')
 header ($title, $boolH1=TRUE, $strScript="", $strImage="dcmms_small.png")
 footer ($cvsdate)
 printSelect ($strName, $arrValues, $arrRecord, $strHelp="", $boolDisabled=false, $onClick="", $boolHasSelectOne=true, $strLabel="")
 writelog ($strMessage)
 printTextInput ($strName, $arrRecord, $strValue="", $strHelp="", $strLabel="", $strType="", $boolLtr=true, $boolDisabled=false)
 printCheckbox ($strName, $arrValue=array(), $strHelp="", $strLabel="")
 getTimestamp ($offYear=0, $offMonth=0, $offDay=0)
 printTable ($strName, $strQuery, $arrActions=array(), $strHelp="", $strCssClass="")
 importantParagraph ($strText)
 _ ($strTerm)

Public Attributes

 $logger
 $strPageName = ''

Constructor & Destructor Documentation

DcmPage::DcmPage strPageName = ''  ) 
 


Member Function Documentation

DcmPage::_ strTerm  ) 
 

Translate a term using php_gettext

Parameters:
$strTerm is the string to be translated.
Returns:
the translated string.

DcmPage::footer cvsdate  ) 
 

DcmPage::getTimestamp offYear = 0,
offMonth = 0,
offDay = 0
 

Return a string timestamp that is compatible with the time format used in the database

Parameters:
$offYear is a negative integer offset for the year.
$offMonth is a negative integer offset for the month.
$offDay is a negative integer offset for the day.
Returns:
The timestamp as a string in ISO date format.

DcmPage::header title,
boolH1 = TRUE,
strScript = "",
strImage = "dcmms_small.png"
 

Redirect to logon.php if not logged on

Recreate the request.

DcmPage::importantParagraph strText  ) 
 

HTML Code for an important paragraph.

Parameters:
$strText the paragraph text
Returns:
nothing

DcmPage::printCheckbox strName,
arrValue = array(),
strHelp = "",
strLabel = ""
 

DcmPage::printSelect strName,
arrValues,
arrRecord,
strHelp = "",
boolDisabled = false,
onClick = "",
boolHasSelectOne = true,
strLabel = ""
 

DcmPage::printTable strName,
strQuery,
arrActions = array(),
strHelp = "",
strCssClass = ""
 

DcmPage::printTextInput strName,
arrRecord,
strValue = "",
strHelp = "",
strLabel = "",
strType = "",
boolLtr = true,
boolDisabled = false
 

DcmPage::writelog strMessage  ) 
 

Log a text to the application log

Parameters:
$strMessage is the log text
Returns:
nothing


Member Data Documentation

DcmPage::$logger
 

The PEAR logger object.

DcmPage::$strPageName = ''
 

The page name, used for the help link.


The documentation for this class was generated from the following file:
Generated on Sat Jul 1 21:19:40 2006 for DCMMS by  doxygen 1.4.6-NO