compiler = $compiler; $this->required_attributes = array('value'); $this->optional_attributes = array('assign','nocache'); // check and get attributes $_attr = $this->_get_attributes($args); if (isset($_attr['nocache'])) { if ($_attr['nocache'] == 'true') { $this->compiler->_compiler_status->tag_nocache = true; } } if (isset($_attr['assign'])) { // assign output to variable $output = 'assign(' . $_attr['assign'] . ',' . $_attr['value'] . ');?>'; } else { // display value $this->compiler->has_output = true; $output = ''; } return $output; } } ?>