Home Private Messages Search
CPG Dragonfly™ CMS stopsoftwarepatents.eu petition banner
 
CPG-Nuke source documentation


Files - Classes
  cpg_template
[x] functions
assign_block_vars

boolean assign_block_vars()

Assigns the given variables only to the specified block and keep them out of the global process.

PHP:
$cpgtpl->assign_block_vars('comment', array(
'IS_NESTED' => ($comments == 0 && $mode != 'flat'),
'IS_NESTED_END'=> false,
'IS_FIRST' => false,
'IS_FIRST_END' => false,
'IS_LIST' => false
));

You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
Interactive software released under GNU GPL, Code Credits, Privacy Policy