예제 #1
0
 /**
  * Query the visible categories and put them in order
  */
 public function onRun()
 {
     $this->categories = CategoryModel::isVisible()->inOrder()->get();
     $this->categoryCount = count($this->categories);
 }