Smarty Method RegisterObject
Smarty::registerObject() method
Methods | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
public
|
registerObject(
Smarty_Internal_TemplateBase|Smarty_Internal_Template|Smarty $obj,
string $object_name,
object $object,
array $allowed_methods_properties = [],
bool $format = true,
array $block_methods = [],
): Smarty|Smarty_Internal_Template
Registers object to be used in templates
Registers object to be used in templates Parameters
Throws
|
# |
Properties | |||
---|---|---|---|
public
|
int
|
$objMap = 3
|
# |