public function __construct($params = array())
{
foreach ($params as $param => $value) {
$v = '_' . $param;
if (isset($this->{$v})) {
$this->{$v} = $value;
}
}
}
public function __construct($context_lines = 0) { parent::__construct(); $this->_leading_context_lines = $context_lines; $this->_trailing_context_lines = $context_lines; $this->orig = ""; $this->final = ""; }