Child classes:
Inherited Variables
Inherited Methods
Class: TTK_Actions
- add_acclose ( [$target = false] )
- Add an action close
- add_acexecuteactiondef ( $actiondef )
- Execute an ActionDef
- add_acexitttk ( )
- Cleanup and close TicaTK Window
- add_acloadxml ( $src, [$actiondef = false] )
- Add an action load XML
- add_acmrginterface ( [$mountpoint = false] )
- Add an action merge interface
- add_acmsgbox ( $text, $type, $oklabel, $cancellabel )
- Add an action Message Box if a cancel label is set, users can interrupt actions execution with the cancel button
- add_acsetexthtmlcontent ( $target, $content, [$autoresizewidth = false], [$autoresizeheight = false] )
- Inject html content inside an TTK_Container
- add_acsetformfield ( $containerid, $formname, $fieldname, $value )
- Update a form field value
- add_acset_attribute ( $id, $attr, $value )
- Add an action set attribute
- add_acsubmitform ( $containerid, $formname, $submitor )
- Submit a form
Class: TTK_TKNode
- constructor TTK_TKNode ( &$ticatk, &$doc, [$id = false] )
- TTK_TKNode Constructor
- &append_child ( $obj )
- Append a node
- close ( )
- Delete the node
- get_attr ( $attr )
- Get value of a node attribute
- get_bool_attr ( $attr )
- Get boolean value of a node attribute
- &get_child ( $id )
- Get a child by id.
- get_childs ( )
- Get node's childs
- get_id ( )
- Get the node's id
- get_id_attr ( $attr, [$return_object = true] )
- Get value of a node attribute with optional automatic from value to an instance of TTK_TKNode (or subclass)
- &get_parent ( )
- Get the parent node
- &get_ttk_object ( $node, $ticatk )
- Map and return a TTK object from a DomNode
- remove ( )
- Remove the node from parent
- set_attr ( $attr, $value, [$local = false] )
- Set value of a node attribute
- set_bool_attr ( $attr, $value, [$local = false] )
- Set boolean value of a node attribute
- set_id_attr ( $attr, $value, [$local = false] )
- Set value of a node attribute with automatic conversion of value to id if value is an instance of TTK_TKNode (or subclass)
- _associate ( $ticatk, $domnode )
- Associate a DomNode to this node
Class Details
TTK_ActionDef
Tags:
- Package - TicaTK
- Author - CS <csollet@coleebris.com>
- Version - $Revision: 1.4 $
- Copyright - © 2001, 2002, 2003 Coleebris
[ Top ]
Class Variables
Class Methods
record_change
TTK_TKNode record_change ( $tk_object )
Any subsequent changes to returned object will be recorded as actions of the current ActionDef
Tags:
- Return - copy of argument
Parameters:
- object $tk_object - Any TTK_TKNode (or subclass) instance
[ Top ]
register_callback
void register_callback ( $callback )
Register a callback which will be called when this TTK_ActionDef request an AC_LoadXML on the server
The callback will be called with two arguments : the source object and the destination object (if any)
Tags:
- See - TTK_TicaTK::get_ccr_dest_object()
- See - TTK_TicaTK::get_ccr_source_object()
- See - TTK_TicaTK::handle_event()
Parameters:
- mixed $callback - The callback (function name or array(& object, "method name"))
[ Top ]
constructor TTK_ActionDef
void constructor TTK_ActionDef ( $ticatk, [$id = false] )
TTK_ActionDef constructor
Tags:
Parameters:
- TTK_TicaTK $ticatk -
- string $id - the ActionDef id
[ Top ]
