예제 #1
0
 protected function validate()
 {
     if ($this->isHidden()) {
         return;
     }
     parent::validate();
     $this->requireAspects(array('value' => "Please add a value usig setValue"));
 }
예제 #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"));
 }
예제 #3
0
 protected function validate()
 {
     if ($this->isHidden()) {
         return;
     }
     parent::validate();
 }
예제 #4
0
 protected function validate()
 {
     if ($this->isHidden()) {
         return;
     }
     parent::validate();
     $this->requireAspects(array("column" => "Please provide atleast one column using addColumn"));
 }