Spade

Mini Shell

Directory:~$ /home/lmsyaran/www/libraries/smartslider3/src/Framework/Content/
Upload File

[Home] [System Details] [Kill Me]
Current File:~$ /home/lmsyaran/www/libraries/smartslider3/src/Framework/Content/ControllerAjaxContent.php

<?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));
    }
}