public static string|null | # getId( ) returns the Id of the frame in the view this value must match a section id in the view returns the Id of the frame in the view this value must match a section id in the view Returns string|null See |
public | |
public cmc\ui\widgets\widget | # addWidget( type $name, cmc\ui\widgets\widget $obj ) adds a new widget in the frame adds a new widget in the frame Parameters Returns |
public | # initialize( ) frame initialize can be used dynamically add and create widgets call parent function when implent this frame initialize can be used dynamically add and create widgets call parent function when implent this |
public cmc\ui\widget | # w( string $widget_name ) 'short' widget access function 'short' widget access function Parameters - $widget_name
string $widget_name Returns cmc\ui\widget |
public false | # is_dynamic( ) not dynamic ... Returns false |
public | # is_dynamic_state( ) true if in dynamic state: dynamic and linked to a session true if in dynamic state: dynamic and linked to a session |
abstract public | # getName( ) successors must implement a name successors must implement a name |
public | # viewAttach( type $view ) update/set frame->view link update/set frame->view link Parameters |
public | # viewStaticUpdate( cmc\view $view ) main static update override this function to process components before it is cached in the application - called each time the view must be entirely calculated (i.e: not in application or in session material cache)
- APP_cache, SESS_save and SESS_save_mat parameter change the cases when this function is called
main static update override this function to process components before it is cached in the application - called each time the view must be entirely calculated (i.e: not in application or in session material cache)
- APP_cache, SESS_save and SESS_save_mat parameter change the cases when this function is called
Parameters |
public | # viewInitialUpdate( cmc\view $view ) first dynamic update on view override this function to process components before material is processed from the application cache into the session cache - called each time the session material is intialized (warning, this may be during POST if SESS_save_mat=false)
- APP_cache, SESS_save and SESS_save_mat parameter change the cases when this function is called
first dynamic update on view override this function to process components before material is processed from the application cache into the session cache - called each time the session material is intialized (warning, this may be during POST if SESS_save_mat=false)
- APP_cache, SESS_save and SESS_save_mat parameter change the cases when this function is called
Parameters |
public | # viewPostStaticUpdate( cmc\view $view ) after static update Parameters |
public | # viewRemoveElements( cmc\ui\view $view, string $class ) definitive elements removal definitive elements removal Parameters |
public type | # getScriptCode( ) gets the frame's scripting code gets the frame's scripting code Returns type |
public boolean | # bIsSessionValid( type $view, type $sess ) is the session still valid ? is the session still valid ? if not the application may return to a fallback page Parameters - $view
type $view - $sess
type $sess Returns boolean |
public | |
public | |
public | # OnClone( mixed $srcinstance ) |
public cmc\core\ui\request | # qry( ) shortcut for current request shortcut for current request Returns cmc\core\ui\request |
public cmc\app | # app( ) shortcut for current application shortcut for current application Returns |
public cmc\sess | # sess( ) shortcut for current session shortcut for current session Returns |
public cmc\db\dataenv | # dtaenv( ) shortcut for current data environment shortcut for current data environment Returns |
public null|cmc\db\datasource | # datasource( type $dsName ) shortcut for a datasource of the data environment shortcut for a datasource of the data environment Parameters Returns |
public null|array | # dataSourceFirst( string $dsName, array $params = false ) shortcut for a datasource's first record shortcut for a datasource's first record Parameters - $dsName
string $dsName - $params
array $params Returns null|array |
public null|boolean | # dataSourceExec( string $dsName, array $params = false ) shortcut for datasource execution shortcut for datasource execution Parameters - $dsName
string $dsName - $params
array $params Returns null|boolean |