/** * Adds the closing comment containing the tag id or class. * * @return void */ public function closingComment() { if (!empty($this->attributes['id'])) { $hint = '#' . $this->attributes['id']; } elseif (!empty($this->classes)) { $hint = '.' . $this->classes[0]; } else { return false; } Generator::call('il_comment', array($hint)); }
/** * Generates a default tag using the current module parameters. * * @return void */ public final function generate() { $options = array_merge($this->options, (array) 'generate'); Generator::call($this->called, $this->args, $options); }