pushAll($this->getRows($this->orders, $this->parameter->ignore)); } /** * treeViewCategories * * @param mixed $categoryOptions 输出选项 */ public function listCategories($categoryOptions = null) { //初始化一些变量 $categoryOptions = Config::factory($categoryOptions); $categoryOptions->setDefault([ 'wrapTag' => 'ul', 'wrapClass' => '', 'itemTag' => 'li', 'itemClass' => '', 'showCount' => false, 'showFeed' => false, 'countTemplate' => '(%d)', 'feedTemplate' => 'RSS' ]); // 插件插件接口 self::pluginHandle()->trigger($plugged)->call('listCategories', $categoryOptions, $this); if (!$plugged) { $this->listRows( $categoryOptions, 'category', 'treeViewCategoriesCallback', intval($this->parameter->current) ); } } }