P4A_MaskThe mask is the basic interface object wich contains all widgets and generically every displayed object.
Located in /p4a/objects/mask.php (line 41)
P4A_Object | --P4A_Mask
| Class | Description |
|---|---|
P4A_Error_Mask
|
General errors mask. |
P4A_Preview_Mask
|
|
P4A_Login_Mask
|
|
P4A_Base_Mask
|
P4A_Button
$close_popup_button
= null (line 115)
P4A_Data_Source
$data
= null (line 47)
The mask's data source
array
$external_fields
= array() (line 59)
Store the external fields' object_id
P4A_Collection
$fields
= null (line 53)
The fields collection
string
$focus_object_id
= null (line 76)
The id of the object with active focus
boolean
$is_popup
= false (line 100)
array
$map_actions
= array() (line 65)
Keeps the association between actions events and actions.
string
$template_name
= null (line 82)
Currently used template name
string
$title
= null (line 70)
string
$_icon
= null (line 105)
integer
$_icon_size
= 32 (line 110)
array
$_temp_vars
= array() (line 89)
Temporary variables container.
These vars are usally in the templates, removed after main.
array
$_tpl_vars
= array() (line 95)
variables used for templates
Inherited from P4A_Object
P4A_Object::$_helpers
P4A_Object::$_id
P4A_Object::$_map_actions
P4A_Object::$_name
P4A_Object::$_objects
P4A_Object::$_parent_id
Constructor __construct (line 120)
addTempVar (line 511)
Add a temporary variable
display (line 246)
Tells the template engine to show an object as a variable.
$object will be shown in the $variable template zone.
displayText (line 258)
Tells the template engine to show a strng as a variable
error (line 661)
Prints out an error message (with an error icon).
It's a wrapper for P4A::message()
getAsString (line 300)
Renders the mask as HTML code and returns it
getFocusedObjectId (line 579)
getIcon (line 553)
getIconSize (line 571)
getTemplateName (line 231)
Returns the currently used template name
getTitle (line 279)
Returns the title for the mask
info (line 673)
Prints out an info message (with an info icon).
It's a wrapper for P4A::message()
isPopup (line 159)
gets/sets popup state
loadRow (line 376)
Loads the current record data
main (line 287)
Prints out the mask
maskClose (line 493)
Returns the closing code for the mask
maskOpen (line 473)
Returns the opening code for the mask
newRow (line 413)
Goes in "new row" modality.
This means that we prepare p4a for adding a new record to the data source wich is associated to the mask.
none (line 501)
Does nothing
reloadRow (line 384)
Reloads data for the current record
saveRow (line 398)
Validate all fields and saves row to the data source
setRequiredField (line 590)
Adds the "not empty" validator to the passed field
setSource (line 359)
Associates a data source with the mask.
Also set the data structure to allow correct widget rendering. Also moves to the first row of the data source.
showPrevMask (line 196)
Shows the previous mask
unsetRequiredField (line 609)
Removes the "not empty" validator from the passed field
useTemplate (line 215)
Tells the mask that we're going to use a template
validateFields (line 627)
Calls the isValid() method for every field.
If a field does not pass validation sets its error message.
warning (line 649)
Prints out a warning message (with a warning icon).
It's a wrapper for P4A::message()
Inherited From P4A_Object
P4A_Object::__construct()
P4A_Object::actionHandler()
P4A_Object::build()
P4A_Object::destroy()
P4A_Object::dropImplement()
P4A_Object::dropMethod()
P4A_Object::errorHandler()
P4A_Object::getId()
P4A_Object::getName()
P4A_Object::getObjectType()
P4A_Object::getParentID()
P4A_Object::implement()
P4A_Object::intercept()
P4A_Object::isActionTriggered()
P4A_Object::setName()
P4A_Object::setParentID()
P4A_Object::void()
P4A_Object::_loadHelper()
P4A_Object::__call()
Documentation generated on Tue, 02 Sep 2008 10:04:02 +0200 by phpDocumentor 1.4.2