SmartyDispatcher class is used resolve the path for template files those are need to be included in the current template file. it controls dynamic mapping of template directories and dispatch request request to appropriate template for rendering.
Note : If we need to include any other fragment template file inside an exisitng template then we need to use this class and provide the path of the including template file. The including file script is rendered and assign in the view variable for use in the in the template file where required. All fragment that are needed to be include in the target template file use the above class to dynamically map the target script path and forward to the actually when the required fragments are rendered in view variables.
Located in /models/SmartyDispatcher.php (line 22)
factory method to return the singleton instance
Dispatch the path where target template file exist.
Dispatch the script path to inlcuding template file dir.
Documentation generated on Wed, 13 Feb 2008 01:57:42 +0500 by phpDocumentor 1.4.0a2