phpMv
-UI toolkit 2.4.12
jQuery, jQuery UI, Twitter Bootstrap and Semantic-UI library for php & php MVC Frameworks
|
Public Member Functions | |
getUrl ($url) | |
addViewElement ($identifier, $content, &$view) | |
createScriptVariable (&$view, $view_var, $output) | |
forward ($initialControllerInstance, $controllerName, $actionName, $params=NULL) | |
renderContent ($initialControllerInstance, $viewName, $params=NULL) | |
fromDispatcher ($dispatcher) | |
![]() | |
getUrl ($url) | |
Generates an URL Used internally by phpMv. More... | |
addViewElement ($identifier, $content, &$view) | |
Adds the array of controls q in the $view element Used internally by phpMv. More... | |
createScriptVariable (&$view, $view_var, $output) | |
Creates the script variable script_foot Used internally by phpMv. More... | |
forward ($initialController, $controller, $action, $params) | |
Forwards to. More... | |
renderContent ($initialControllerInstance, $viewName, $params=NULL) | |
render the content of an existing view : $viewName and set the response to the modal content Used internally by phpMv More... | |
fromDispatcher ($dispatcher) | |
Collects url parts from the request dispatcher : controllerName, actionName, parameters Used internally by phpMv. More... | |
ui (JqueryUI $ui=NULL) | |
getter or setter of the jQuery-UI variable More... | |
bootstrap (Bootstrap $bootstrap=NULL) | |
getter or setter of the Twitter Bootstrap variable More... | |
semantic (Semantic $semantic=NULL) | |
getter or setter of the Semantic-UI variable More... | |
config ($config=NULL) | |
__construct ($params=array(), $injected=NULL) | |
__set ($property, $value) | |
getParam ($key) | |
output ($array_js) | |
Outputs the called javascript to the screen. More... | |
compile (&$view=NULL, $view_var='script_foot', $script_tags=TRUE) | |
gather together all script needing to be output More... | |
clear_compile () | |
Clears the array of script events collected for output. More... | |
getScript ($offset=0) | |
scriptCount () | |
inline ($script, $cdata=TRUE) | |
Outputs a <script> tag. More... | |
generate_json ($result=NULL, $match_array_type=FALSE) | |
Can be passed a database result or associative array and returns a JSON formatted string. More... | |
_prep_args ($result, $is_key=FALSE) | |
Ensures a standard json value and escapes values. More... | |
_add_event ($element, $js, $event, $preventDefault=false, $stopPropagation=false, $immediatly=true, $listenerOn=false) | |
Constructs the syntax for an event, and adds to into the array for compilation. More... | |
getInjected () | |
setParam (string $param, $value) | |
Additional Inherited Members | |
![]() | |
initialize () | |
To override for special initialization of the component. More... | |
![]() | |
$params | |
$injected | |
$_ui | |
$_bootstrap | |
$_semantic | |
$config | |
Definition at line 7 of file JsUtils.php.
addViewElement | ( | $identifier, | |
$content, | |||
& | $view | ||
) |
Definition at line 11 of file JsUtils.php.
createScriptVariable | ( | & | $view, |
$view_var, | |||
$output | |||
) |
Definition at line 20 of file JsUtils.php.
forward | ( | $initialControllerInstance, | |
$controllerName, | |||
$actionName, | |||
$params = NULL |
|||
) |
Definition at line 24 of file JsUtils.php.
fromDispatcher | ( | $dispatcher | ) |
Definition at line 36 of file JsUtils.php.
getUrl | ( | $url | ) |
Definition at line 8 of file JsUtils.php.
renderContent | ( | $initialControllerInstance, | |
$viewName, | |||
$params = NULL |
|||
) |
Definition at line 32 of file JsUtils.php.