Implements interfaces:
Moves the scope down into the provided variable, allowing you to use shorter variable names if you repeatedly access values into a single array
The with block won't display anything at all if the provided scope is empty, so in effect it acts as {if $var}*content*{/if}
* var : the variable name to move intoExample :
instead of the following :
you can use :
This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
Located in /plugins/builtin/blocks/with.php (line 41)
Dwoo_Plugin | --Dwoo_Block_Plugin | --Dwoo_Plugin_with
Inherited from Dwoo_Block_Plugin
Dwoo_Block_Plugin::$buffer
Inherited from Dwoo_Plugin
Dwoo_Plugin::$dwoo
Inherited From Dwoo_Block_Plugin
Dwoo_Block_Plugin::buffer()
Dwoo_Block_Plugin::end()
Dwoo_Block_Plugin::postProcessing()
Dwoo_Block_Plugin::preProcessing()
Dwoo_Block_Plugin::process()
Inherited From Dwoo_Plugin
Dwoo_Plugin::__construct()
Dwoo_Plugin::paramsToAttributes()
Documentation generated on Sun, 07 Feb 2010 17:54:00 +0000 by phpDocumentor 1.4.0