__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
smarty_modifier_alnum(string $string) : string
category | OSS |
---|---|
package | OSS_Smarty |
subpackage | Modifier |
string
Strint to modify
string
smarty_modifier_debug_print_var($var, $depth, $length) : string
Type: modifier
Name: debug_print_var
Purpose: formats variable contents for display in the console
link | debug_print_var (Smarty online manual) |
---|---|
author | Monte Ohrt |
category | OSS |
package | OSS_Smarty |
subpackage | Modifier |
array|object
integer
integer
string
smarty_modifier_escape(string $string, \html | \htmlall | \url | \quotes | \hex | \hexentity | \javascript $esc_type, string $char_set) : string
Type: modifier
Name: escape
Purpose: Escape the string according to escapement type
link | escape (Smarty online manual) |
---|---|
author | Monte Ohrt |
category | OSS |
package | OSS_Smarty |
subpackage | Modifier |
string
\html
\htmlall
\url
\quotes
\hex
\hexentity
\javascript
string
string
smarty_modifier_intlmobile(string $string) : string
category | OSS |
---|---|
package | OSS_Smarty |
subpackage | Modifier |
string
Strint to modify
string
smarty_modifier_mobile(string $string) : string
category | OSS |
---|---|
package | OSS_Smarty |
subpackage | Modifier |
string
Strint to modify
string
smarty_modifier_ossDate(string $string, string | int $format) : string
category | OSS |
---|---|
package | OSS_Smarty |
subpackage | Modifier |
string
String to modify
string
int
string
smarty_modifier_preg_replace(string $string, string $search, string $replace) : string
category | OSS |
---|---|
package | OSS_Smarty |
subpackage | Modifier |
string
Strint to modify
string
Pattern to search
string
Replacement string
string
smarty_modifier_shorten(string $string, int $length) : string
category | OSS |
---|---|
package | OSS_Smarty |
subpackage | Modifier |
string
Strint to modify
int
Wanted max string length
string
smarty_modifier_sizeof(mixed $input) : int
smarty_modifier_string_format($string, $format) : string
Type: modifier
Name: string_format
Purpose: format strings via sprintf
link | string_format (Smarty online manual) |
---|---|
author | Monte Ohrt |
category | OSS |
package | OSS_Smarty |
subpackage | Modifier |
string
string
string
smarty_modifier_toInt(string $string) : int
smarty_modifier_toValidId(string $string) : string
An interface to be implemented by classes which can be "observed" - i.e.
« More »Exception for adding more than the maximum allowed indexed preferences
« More »Untility methods to add common Auth/Login elements to an authentication form
« More »