get _template_Blocs method ?

From: Date: Tue, 18 Feb 2003 07:21:37 +0000
Subject: get _template_Blocs method ?
Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-712@lists.php.net to get a copy of this message
Hi, Why don't you add a get_template_blocs method ? It could be usefull, in case of we must do some code if a certain bloc is in template... For example : $blocs = $smarty->get_templates_blocs() if (in_array("news", $blocs)) { ..... .... } Thanx Laurent

« previous php.smarty.dev (#712) next »