diff options
Diffstat (limited to 'vendor/smarty/smarty/docs/programmers/api-functions/api-register-object.md')
-rw-r--r-- | vendor/smarty/smarty/docs/programmers/api-functions/api-register-object.md | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/vendor/smarty/smarty/docs/programmers/api-functions/api-register-object.md b/vendor/smarty/smarty/docs/programmers/api-functions/api-register-object.md deleted file mode 100644 index c310e8c2a..000000000 --- a/vendor/smarty/smarty/docs/programmers/api-functions/api-register-object.md +++ /dev/null @@ -1,44 +0,0 @@ -registerObject() - -register an object for use in the templates - -Description -=========== - -void - -registerObject - -string - -object\_name - -object - -object - -array - -allowed\_methods\_properties - -boolean - -format - -array - -block\_methods - -> **Note** -> -> When you register/assign objects to templates, be sure that all -> properties and methods accessed from the template are for presentation -> purposes only. It is very easy to inject application logic through -> objects, and this leads to poor designs that are difficult to manage. -> See the Best Practices section of the Smarty website. - -See the [objects section](#advanced.features.objects) for more -information. - -See also [`getRegisteredObject()`](#api.get.registered.object), and -[`unregisterObject()`](#api.unregister.object). |