\Smarty_Internal_Method_GetRegisteredObject

Smarty Method GetRegisteredObject

Smarty::getRegisteredObject() method

Summary

Methods
Properties
Constants
getRegisteredObject()
$objMap
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Properties

$objMap

$objMap : integer

Valid for Smarty and template object

Type

integer

Methods

getRegisteredObject()

getRegisteredObject(\Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty  $obj, string  $object_name) : object

return a reference to a registered object

Parameters

\Smarty_Internal_TemplateBase|\Smarty_Internal_Template|\Smarty $obj
string $object_name

object name

Throws

\SmartyException

if no such object is found

Returns

object