You are here

public function HamlRenderer::__construct in Sassy 7

File

phamlp/haml/renderers/HamlRenderer.php, line 58

Class

HamlRenderer
HamlRenderer class. Provides the most common version of each method. Child classs override methods to provide style specific rendering. @package PHamlP @subpackage Haml.renderers

Code

public function __construct($options) {
  foreach ($options as $name => $value) {
    $this->{$name} = $value;
  }

  // foreach
}