public function setErrorPost($post = true) { $this->errorDisplay['pre'] = !(bool) $post; return $this; }
public function testErrorPost() { $e = new Element('text', 'email'); $e->setErrorPost(true); }