Blame view

libraries/nextend2/nextend/library/applications/system/backend/controllers/ajax/Content.php 350 Bytes
1 2 3 4 5 6 7 8 9 10 11 12 13
<?php

class N2SystemBackendContentControllerAjax extends N2BackendControllerAjax
{

    public function actionSearch() {
        $this->validateToken();
        N2Loader::import('libraries.models.content', 'platform');

        $keyword = N2Request::getVar('keyword', '');
        $this->response->respond(N2ModelsContent::search($keyword));
    }
}