1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
channel.php
См. документацию.
1
<?php
2
3
##############################################
4
# Bitrix Site Manager Forum #
5
# Copyright (c) 2002-2009 Bitrix #
6
# https:
//www.bitrixsoft.com #
7
# mailto:admin@bitrixsoft.com #
8
##############################################
9
10
require_once(
$_SERVER
[
"DOCUMENT_ROOT"
].
"/bitrix/modules/vote/classes/general/channel.php"
);
11
12
class
CVoteChannel
extends
CAllVoteChannel
13
{
14
public
static
function
GetDropDownList
()
15
{
16
global
$DB
;
17
18
$sqlHelper =
\Bitrix\Main\Application::getConnection
()->getSqlHelper();
19
$strSql =
"
20
SELECT
21
ID as REFERENCE_ID,
22
"
. $sqlHelper->getConcatFunction(
"'['"
,
"ID"
,
"']'"
,
"TITLE"
) .
" as REFERENCE
23
FROM b_vote_channel
24
ORDER BY C_SORT
25
"
;
26
$res
=
$DB
->Query($strSql);
27
return
$res
;
28
}
29
}
Bitrix\Main\Application\getConnection
static getConnection($name="")
Определения
application.php:638
CAllVoteChannel
Определения
channel.php:11
CVoteChannel
Определения
channel.php:13
CVoteChannel\GetDropDownList
static GetDropDownList()
Определения
channel.php:14
$res
$res
Определения
filter_act.php:7
$_SERVER
$_SERVER["DOCUMENT_ROOT"]
Определения
cron_frame.php:9
$DB
global $DB
Определения
cron_frame.php:29
bitrix
modules
vote
classes
mysql
channel.php
Создано системой
1.14.0