Source for file BoolToCSS.php
Documentation is available at BoolToCSS.php
* Pre-transform that changes converts a boolean attribute to fixed CSS
* Name of boolean attribute that is trigger
* CSS declarations to add to style, needs trailing semicolon
* @param $attr string attribute name to convert from
* @param $css string CSS declarations to add to style (needs semicolon)
public function transform($attr, $config, $context) {
if (!isset
($attr[$this->attr])) return $attr;
unset
($attr[$this->attr]);
Documentation generated on Thu, 19 Jun 2008 18:48:53 -0400 by phpDocumentor 1.4.2