CPG-Nuke source documentation ⇒ CPG Dragonfly™ CMS
Files - Classes
  cpg_template
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.
$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 ));