예제 #1
0
 protected function compileProp($prop, $block, $out)
 {
     if ($prop[0] === 'assign' && array_key_exists($prop[1], $this->getProperties())) {
         list(, $sName, $aValue) = $prop;
         foreach ($this->aVendors as $vendor) {
             if ($sPrefixed = $vendor->prefixProperty($sName, $this->getProperty($sName))) {
                 $out->lines[] = $this->formatter->property($sPrefixed, $this->compileValue($this->reduce($aValue), $vendor));
             }
         }
     }
     parent::compileProp($prop, $block, $out);
 }