コード例 #1
0
 private function getPostData()
 {
     $this->serchData['fio'] = UOAManagerPanelSerchArray::getSerchData('fio');
     $this->serchData['phone'] = UOAManagerPanelSerchArray::getSerchData('phone');
     $this->serchData['message'] = UOAManagerPanelSerchArray::getSerchData('message');
     $this->serchData['totalStatus'] = UOAManagerPanelSerchArray::getSerchData('totalStatus');
 }
コード例 #2
0
 private static function createObject()
 {
     if (!isset(self::$object)) {
         self::$object = new UOAManagerPanelSerchArray();
     }
 }
コード例 #3
0
 private static function ListSort()
 {
     $orderBy = UOAManagerPanelSerchArray::getOrderBy();
     $columnData = array();
     $ascdescData = array();
     $columnData[0]['value'] = 'creation';
     $columnData[0]['text'] = 'по дате создания';
     $columnData[1]['value'] = 'changed';
     $columnData[1]['text'] = 'по дате изменения';
     $ascdescData[0]['value'] = 'asc';
     $ascdescData[0]['text'] = 'по возрастанию';
     $ascdescData[1]['value'] = 'desc';
     $ascdescData[1]['text'] = 'по убыванию';
     $out = '<div class="UOAFilterBlockListSort" id="UOAFilterBlockListSort">';
     $out .= 'Сортировать данные: ';
     $out .= InputHelper::select('UOAFilterListSortColumn', 'UOAFilterListSortColumn', $columnData, FALSE, $orderBy['column'], NULL);
     $out .= InputHelper::select('UOAFilterListSortASCDESC', 'UOAFilterListSortASCDESC', $ascdescData, FALSE, $orderBy['asc_desc'], NULL);
     $out .= '</div>';
     return $out;
 }
コード例 #4
0
<?php

ini_set("display_errors", 1);
error_reporting(E_ALL);
header("Content-type: text/html; charset=UTF-8");
@session_start();
include_once '../../../ROOT/functions/includeSistemClasses.php';
includeSistemClasses('../../../ROOT/');
include_once '../classes/UOAManagerPanel.php';
include_once '../classes/UOAManagerPanelApplicationsListFilter.php';
include_once '../classes/UOAManagerPanelApplicationsList.php';
include_once '../classes/UOAManagerPanelSerchArray.php';
global $_SQL_HELPER;
$_SQL_HELPER = new MysqliHelper();
global $_SITECONFIG;
$_SITECONFIG = new SiteConfig();
$urlParams = new UrlParams();
global $_URL_PARAMS;
$_URL_PARAMS = $urlParams->getUrlParam();
$column = UOAManagerPanelSerchArray::getPostValue('UOAFilterListSortColumn');
$asc_desc = UOAManagerPanelSerchArray::getPostValue('UOAFilterListSortASCDESC');
UOAManagerPanelSerchArray::updatePostData();
UOAManagerPanelSerchArray::setOrderBy($column, $asc_desc);
$applicationsList = new UOAManagerPanelApplicationsList();
$applicationsList->get();