Class: Component
Source Location: /classes.inc.php
|
|
|
|
|
|
|
|
|
Inherited Properties
|
Inherited Events
|
Inherited JS Events
|
Inherited Methods
|
|
Properties
Events
Javascript Events
Methods
Component __construct(
[object
$aowner = null])
|
|
Constructor
Overridden in child classes as:
- ActionList::__construct()
- User::__construct()
- BusinessObject::__construct()
- Control::__construct()
- Constructor for the class
- GraphicMainMenu::__construct()
- FocusControl::__construct()
- Clock::__construct()
- CustomCheckListBox::__construct()
- MonthCalendar::__construct()
- DateTimePicker::__construct()
- SimpleChart::__construct()
- Image::__construct()
- FlashObject::__construct()
- Bevel::__construct()
- CustomLabel::__construct()
- DBPaginator::__construct()
- CustomPanel::__construct()
- Panel::__construct()
- Clock::__construct()
- DBRepeater::__construct()
- CustomDBGrid::__construct()
- CustomListBox::__construct()
- ComboBox::__construct()
- CustomRadioGroup::__construct()
- CustomPage::__construct()
- Page::__construct()
- Frameset::__construct()
- Frame::__construct()
- DWidget::__construct()
- CustomProgressBar::__construct()
- QWidget::__construct()
- BitBtn::__construct()
- SpeedButton::__construct()
- CustomListView::__construct()
- DBGrid::__construct()
- CustomPageControl::__construct()
- CustomTreeView::__construct()
- CustomTextField::__construct()
- CustomLabeledEdit::__construct()
- CustomUpDown::__construct()
- ColorSelector::__construct()
- CustomToolBar::__construct()
- GroupBox::__construct()
- CustomButtonView::__construct()
- Window::__construct()
- CustomMainMenu::__construct()
- ScrollBar::__construct()
- CustomEdit::__construct()
- CustomMemo::__construct()
- CustomRichEdit::__construct()
- ButtonControl::__construct()
- Button::__construct()
- CustomCheckBox::__construct()
- RadioButton::__construct()
- MapShape::__construct()
- Shape::__construct()
- PaintBox::__construct()
- HiddenField::__construct()
- CustomConnection::__construct()
- Database::__construct()
- IBDatabase::__construct()
- DataSet::__construct()
- Datasource::__construct()
- Application::__construct()
- ImageList::__construct()
- PageTemplate::__construct()
- TemplateManager::__construct()
- Service::__construct()
Overrides Object::__construct (Constructor)
Parameters:
string
ajaxCall [line 968]
string ajaxCall(
string
$phpevent, [array
$params = array()])
|
|
Returns the js event attribute to call the server using ajax
Parameters:
mixed
callEvent [line 930]
mixed callEvent(
string
$event, mixed
$params)
|
|
Calls a server event
Tags:
Parameters:
string
dumpChildrenHeaderCode [line 1171]
string dumpChildrenHeaderCode(
[boolean
$return_contents = false])
|
|
Dump the header code for all the children
Parameters:
void
dumpChildrenJavascript [line 1147]
void dumpChildrenJavascript(
)
|
|
Dump the javascript code for all the children
void
dumpHeaderCode [line 1139]
void
dumpHiddenKeyFields [line 1099]
void
dumpJavascript [line 1131]
void
fixupProperty [line 879]
void fixupProperty(
mixed
$value)
|
|
This method returns the right object (or the input string if object not found) for an object name Should be used on the loaded method for object properties to find the right reference
Parameters:
string
generateAjaxEvent [line 953]
string generateAjaxEvent(
string
$jsevent, string
$phpevent)
|
|
Returns the js event attribute to call the server using Ajax we use xajax to handle all the ajax stuff.
Parameters:
boolean
hasValidDataField [line 1060]
boolean hasValidDataField(
)
|
|
This function returns true if the datafield is valid
void
init [line 992]
void
insertComponent [line 1287]
void insertComponent(
object
$acomponent)
|
|
Insert a component into the components collection
Parameters:
void
loaded [line 844]
void
loadedChildren [line 853]
Calls childrens loaded recursively
void
loadResource [line 1202]
void loadResource(
string
$filename, [boolean
$inherited = false], [
$storelastresource = true])
|
|
Load this component from a string
Parameters:
void
preinit [line 979]
integer
readAccessibility [line 868]
integer readAccessibility(
$method,
$defaccessibility)
|
|
Overwrite this method to provide accessibility info for the RPC engine
Tags:
Overridden in child classes as:
- DBGrid::readAccessibility()
- To give permission to execute certain methods
Parameters:
void
readFromResource [line 1250]
void readFromResource(
[string
$filename = ""], [boolean
$createobjects = true])
|
|
Read a component from a resource file
Parameters:
void
removeComponent [line 1298]
void removeComponent(
object
$acomponent)
|
|
Remove a component from the components collection
Parameters:
void
serializeChildren [line 1118]
void serializeChildren(
)
|
|
Serialize all children
void
unserializeChildren [line 913]
void unserializeChildren(
)
|
|
Unserialize all children
void
updateDataField [line 1016]
void updateDataField(
$value)
|
|
Checks if there is any datafield attached to the component and sets the dataset in edit state and all the fields with the appropiate values so the dataset is able to update the right record Properties for data-aware components must be named DataField DataSource This is for basic single-field data-aware controls, for more complicated controls like DBGrid, each component must create its own mechanism to update information in the database
Parameters:
|