constructor __construct [line 12]
method createNewDatabaseFieldIfRequested [line 256]
void createNewDatabaseFieldIfRequested(
)
|
|
Tags:
method doActionToUrlRedirections [line 149]
method getComponentCode [line 173]
method getComponentCodeBeforeHtmlTag [line 186]
string getComponentCodeBeforeHtmlTag(
)
|
|
Returns PHP code generated by the component which implements the component's functionality.
Code returned by this function is included before the starting <html> tag of the page and is therefore suitable to deal with input processing, page forwarding etc.
This function may be overwritten by a component.
Tags:
Overridden in child classes as:
- ComponentButton::getComponentCodeBeforeHtmlTag()
- Returns code required to perform the actions to be performed on the button click as specified by the designer.
- ComponentInputText::getComponentCodeBeforeHtmlTag()
- Returns the code that goes before the HTML tag, this is essentially input text validation.
- ComponentRadiobuttonGroup::getComponentCodeBeforeHtmlTag()
- Returns PHP code that should be inserted before the HTML tag in the generated PHP file
method getComponentIdExpandedDefault [line 216]
method getHtmlEditorCustomization [line 197]
string getHtmlEditorCustomization(
)
|
|
Returns javascript code to put a drop down in the HTML Editor tool bar for adding input fields and database field directly into the HTML text without typing it in. This function can be overridden if special buttons or dropdowns need to be added to the HTML Editor toolbar.
Tags:
Overridden in child classes as:
- ComponentDynamicOutput::getHtmlEditorCustomization()
- Returns javascript code to put a drop down in the HTML Editor tool bar for adding input fields and database field directly into the HTML text without typing it in.
method getId [line 23]
Returns the component's Id from the XML
Tags:
method getParentApp [line 130]
Returns the parent Application of this component
Tags:
method getParentPage [line 121]
Returns the parent Page of this object
Tags:
method getType [line 141]
method getX [line 41]
Returns the component's X-screen coordinate from the XML
Tags:
method getY [line 59]
Returns the component's Y-screen coordinate from the XML
Tags:
method getZ [line 77]
Returns the component's Z-screen coordinate (the depth) from the XML
Tags:
method handlePropertiesUi [line 162]
boolean handlePropertiesUi(
boolean
$bSuccessSoFar)
|
|
Responds to user input from the edit component screen, performs input validation and stores input values until they are saved or discarded.
This function is overwritten by each component. It must be implemented.
Tags:
Overridden in child classes as:
- ComponentButton::handlePropertiesUi()
- Responds to user input from the edit component screen, performs input validation and stores input values until they are saved or discarded
- ComponentCheckbox::handlePropertiesUi()
- Responds to user input from the edit component screen, this validates the input and simply stores the values entered by the user to the XML file.
- ComponentDataTable::handlePropertiesUi()
- Responds to user input from the edit component screen, performs input validation and stores input values until they are saved or discarded
- ComponentDynamicOutput::handlePropertiesUi()
- Responds to user input from the edit component screen, performs input validation and stores input values until they are saved or discarded
- ComponentHtmlText::handlePropertiesUi()
- Responds to user input from the edit component screen, performs input validation and stores input values until they are saved or discarded
- ComponentImage::handlePropertiesUi()
- Responds to user input from the edit component screen, performs input validation and stores input values until they are saved or discarded
- ComponentInputText::handlePropertiesUi()
- Responds to user input from the edit component screen, performs input validation and stores input values until they are saved or discarded
- ComponentRadiobuttonGroup::handlePropertiesUi()
- Responds to user input from the edit component screen, performs input validation and stores input values until they are saved or discarded
Parameters:
method isActive [line 107]
Returns TRUE if this component is currently marked active
Tags:
method isComplete [line 206]
Returns true if complete functionality of the component has been defined, otherwise false
Tags:
Overridden in child classes as:
- ComponentButton::isComplete()
- Returns true if at least one action rule is defined for the button
- ComponentCheckbox::isComplete()
- Returns true if the input text has been associated with a database field or not. This is done by simply checking the database fieldname in the XML file.
- ComponentInputText::isComplete()
- Returns true if the input text field has been associated with a database field or not. This is done by simply checking the database fieldname in the XML file.
- ComponentRadiobuttonGroup::isComplete()
- Returns TRUE if the component is fully specified
method printComponentHelp [line 376]
void printComponentHelp(
string
$sIndex)
|
|
This function is a wrapper which calls the global printHelp from common.inc.php
Tags:
Parameters:
method printHtmlEditorUi [line 353]
void printHtmlEditorUi(
mixed
$sHtml)
|
|
Prints the UI for an HTML editor
This is only relevant for some components
Tags:
method printJavaScriptOnChangeFunction [line 225]
void printJavaScriptOnChangeFunction(
)
|
|
This function puts a javscript function in the edit component dialog box that handles the component id change. whenever the component id changes we add this new id into the list of options for the field it is associated to in a database.
Tags:
method printLinkToDatabaseFieldUi [line 297]
void printLinkToDatabaseFieldUi(
)
|
|
Prints the UI for linking a component to a database field
This is only relevant for some of the input components
Tags:
method printPropertiesUi [line 148]
method printSubmitFormFunction [line 275]
void printSubmitFormFunction(
)
|
|
Tags:
method rewriteLinksForEditMode [line 387]
string rewriteLinksForEditMode(
string
$sCode)
|
|
This function rewrites all HTML links '<a href="something">' to '<a href="something?editMode=1">'
Tags:
Parameters:
method setActive [line 93]
Makes this component active
Tags:
method setId [line 32]
Sets the component's Id in the XML
Tags:
Parameters:
method setX [line 50]
Sets the component's X-screen coordinate in the XML
Tags:
Parameters:
method setY [line 68]
Sets the component's Y-screen coordinate in the XML
Tags:
Parameters:
method setZ [line 86]
Sets the component's Z-screen coordinate in the XML
Tags:
Parameters:
method unsetActive [line 100]
Makes this component inactive
Tags: