Exemple #1
0
 function accept()
 {
     return $this->hasChildren() || parent::accept();
 }
 /**
  * Simply invert the accept() function
  *
  */
 public function accept()
 {
     return !parent::accept();
 }