FilterController.php
563 Bytes
<?php
    
    namespace frontend\controllers;
    
    use yii\web\Controller;
    
    /**
     * Filter controller
     */
    class FilterController extends Controller
    {
        
        /**
         * Filter by type.
         * @return string
         */
        public function actionType()
        {
            return $this->render('type');
        }
        
        /**
         * Filter by purpose.
         * @return string
         */
        public function actionPurpose()
        {
            return $this->render('purpose');
        }
    } 
