getChildOptionStr() public static method

获取子分类的下拉选项
public static getChildOptionStr ( type $pid, type $level ) : type
$pid type
$level type
return type
Example #1
0
 public function actionCate()
 {
     if (Yii::app()->request->isAjaxRequest) {
         $pid = Yii::app()->request->getParam('pid');
         $level = Yii::app()->request->getParam('level');
         echo ARCates::getChildOptionStr($pid, $level);
     }
 }