Hoa central
Error.php
Go to the documentation of this file.
1 <?php
2 
37 namespace Hoa\Xyl\Interpreter\Html;
38 
47 class Error extends GenericPhrasing
48 {
54  protected $_visibility = false;
55 
56 
57 
64  protected function paint(Stream\IStream\Out $out)
65  {
66  $this->writeAttribute('class', 'error');
67  $out->writeAll('<div' . $this->readAttributesAsString() . '>');
68  $this->computeValue($out);
69  $out->writeAll('</div>');
70 
71  return;
72  }
73 
80  public function raise($raise = true)
81  {
82  return $this->setVisibility($raise);
83  }
84 }
paint(Stream\IStream\Out $out)
Definition: Error.php:64