Exemplo n.º 1
0
 protected function validate()
 {
     if ($this->isHidden()) {
         return;
     }
     parent::validate();
     $this->requireAspects(array('value' => "Please add a value usig setValue"));
 }
Exemplo n.º 2
0
 protected function validate()
 {
     if ($this->isHidden()) {
         return;
     }
     parent::validate();
     $this->requireAspects(array('series' => "Please add a series using addSeries", 'labels' => "Please set some labels using addLabels"));
 }
Exemplo n.º 3
0
 protected function validate()
 {
     if ($this->isHidden()) {
         return;
     }
     parent::validate();
 }
Exemplo n.º 4
0
 protected function validate()
 {
     if ($this->isHidden()) {
         return;
     }
     parent::validate();
     $this->requireAspects(array("column" => "Please provide atleast one column using addColumn"));
 }