getOptions($options, array('', '')); //just prepend and/or append the options to the original text $newtext = htmlspecialchars($options[0]) . $buffer . htmlspecialchars($options[1]); return $newtext; } /** * This method is called when any PluginManager to which the observer * is attached calls PluginManager::notify() * * @param SplSubject $subject The PluginManager notifying the observer * of an update. * * @todo implement * @return void */ public function update (SplSubject $subject) { ; } /* ~~~~~~~~~~~~~~~~~~~~ Getters and Setters ~~~~~~~~~~~~~~~~~~~~ */ /** * Gets the transformation name of the specific plugin * * @return string */ public static function getName() { return "PreApPend"; } } ?>