__vimbadmin_getFormElements
smarty_function_LoginForm
smarty_function_OSS_Message
smarty_function_addJSValidator
smarty_function_currency
smarty_function_customdate
smarty_function_dateDiffDays
smarty_function_dynamicContent
smarty_function_genUrl
smarty_function_includeIfExists
smarty_function_modelOperation
smarty_function_phpinfo
smarty_function_secondsToHMS
smarty_function_tmplinclude
__vimbadmin_getFormElements(\OSS_Form $formObj, array $validationRules) : void
category | OSS |
---|---|
package | OSS_Smarty |
subpackage | Functions |
array
&$validationRules Array of rules for validate elements
smarty_function_LoginForm(array $params, \Smarty $smarty) : string
category | OSS |
---|---|
package | OSS_Smarty |
subpackage | Functions |
array
\Smarty
A reference to the Smarty template object
string
smarty_function_OSS_Message(array $params, \Smarty $smarty) : string
category | OSS |
---|---|
package | OSS_Smarty |
subpackage | Functions |
array
\Smarty
A reference to the Smarty template object
string
smarty_function_addJSValidator(array $params, \Smarty $smarty) : string
the parameters in $params are:
'form' - the form object, must be a Zend_Form or an inherited class of that
category | OSS |
---|---|
package | OSS_Smarty |
subpackage | Functions |
array
An array of the parameters to make up the URL
\Smarty
A reference to the Smarty template object
string
smarty_function_currency(array $params, \Smarty $smarty) : string
parameters: 'value' string, int, float, default 0.00 'currency' string, default '€'
category | OSS |
---|---|
package | OSS_Smarty |
subpackage | Functions |
array
\Smarty
A reference to the Smarty template object
string
smarty_function_customdate(array $params, \Smarty $smarty) : string
parameters: 'format' string, default 'Y-m-d' 'offset' string, default 'now' 'now' string, default time()
category | OSS |
---|---|
package | OSS_Smarty |
subpackage | Functions |
array
\Smarty
A reference to the Smarty template object
string
smarty_function_dateDiffDays(array $params, \Smarty $smarty) : string
parameters: 'date1' string, default 'Y-m-d' 'date2' string, default 'Y-m-d'
category | OSS |
---|---|
package | OSS_Smarty |
subpackage | Functions |
array
\Smarty
A reference to the Smarty template object
string
smarty_function_dynamicContent(array $params, \Smarty $smarty) : string
The URL is made up of parameters as supplied in the $params associative array. 'controller' and 'action' are special parameters which indicate the controller and action to call. Any other parameters are added as additional name / value pairs.
NOTICE: Works with Doctrine1
category | OSS |
---|---|
package | OSS_Smarty |
subpackage | Functions |
array
An array of the parameters to make up the URL
\Smarty
A reference to the Smarty template object
string
smarty_function_genUrl(array $params, \Smarty $smarty) : string
The URL is made up of parameters as supplied in the $params associative array. 'module', 'controller' and 'action' are special parameters which indicate the module, controller and action to call. Any other parameters are added as additional name / value pairs.
Calls OSS_Utils::genUrl()
category | OSS |
---|---|
package | OSS_Smarty |
subpackage | Functions |
array
An array of the parameters to make up the URL
\Smarty
A reference to the Smarty object
string
smarty_function_includeIfExists($params, $smarty) : string
Otherwise, a default file passed by parameter "else" will be included. Example: 1 {includeIfExists file="foo.tpl" assign="foo"}
category | OSS |
---|---|
package | OSS_Smarty |
subpackage | Functions |
string
smarty_function_modelOperation(array $params, \Smarty $smarty) : mixed
NOTICE: Works only with Doctrine1
category | OSS |
---|---|
package | OSS_Smarty |
subpackage | Functions |
array
(model, id, method, params)
\Smarty
A reference to the Smarty template object
mixed
smarty_function_phpinfo(array $params, \Smarty $smarty) : string
category | OSS |
---|---|
package | OSS_Smarty |
subpackage | Functions |
array
An array of the parameters to make up the URL
\Smarty
A reference to the Smarty object
string
smarty_function_secondsToHMS($params, $smarty) : string
smarty_function_tmplinclude($params, $smarty) : string