File "ControllerAjaxContent.php"

Full Path: /home2/sdektunc/cepali.edu.mx/wp-content/plugins/smart-slider-3/Nextend/Framework/Content/ControllerAjaxContent.php
File size: 626 bytes
MIME-type: text/x-php
Charset: utf-8

<?php


namespace Nextend\Framework\Content;


use Nextend\Framework\Controller\Admin\AdminAjaxController;
use Nextend\Framework\Request\Request;

class ControllerAjaxContent extends AdminAjaxController {

    public function actionSearchLink() {
        $this->validateToken();

        $keyword = Request::$REQUEST->getVar('keyword', '');
        $this->response->respond(Content::searchLink($keyword));
    }

    public function actionSearchContent() {
        $this->validateToken();

        $keyword = Request::$REQUEST->getVar('keyword', '');
        $this->response->respond(Content::searchContent($keyword));
    }
}