Файловый менеджер - Редактировать - /var/www/axolotl/data/www/axolotls.ru/www/bitrix/modules/voximplant/lib/model/queue.php
Назад
<?php namespace Bitrix\Voximplant\Model; use Bitrix\Main\Entity; use Bitrix\Main\Localization\Loc; Loc::loadMessages(__FILE__); /** * Class QueueTable * @package Bitrix\Voximplant **/ class QueueTable extends Entity\DataManager { /** * Returns path to the file which contains definition of the class. * * @return string */ public static function getFilePath() { return __FILE__; } /** * Returns DB table name for entity. * * @return string */ public static function getTableName() { return 'b_voximplant_queue'; } /** * Returns entity map definition. * * @return array */ public static function getMap() { return array( 'ID' => new Entity\IntegerField('ID', array( 'primary' => true, 'autocomplete' => true )), 'NAME' => new Entity\StringField('NAME', array( 'size' => 255 )), 'TYPE' => new Entity\StringField('TYPE', array( 'size' => 50, )), 'WAIT_TIME' => new Entity\IntegerField('WAIT_TIME'), 'NO_ANSWER_RULE' => new Entity\StringField('NO_ANSWER_RULE', array( 'size' => 50, 'default_value' => 'voicemail', 'validation' => function (){ return array(new Entity\Validator\Length(null, 50));}, )), 'NEXT_QUEUE_ID' => new Entity\IntegerField('NEXT_QUEUE_ID'), 'FORWARD_NUMBER' => new Entity\StringField('FORWARD_NUMBER'), 'ALLOW_INTERCEPT' => new Entity\BooleanField('ALLOW_INTERCEPT', array( 'values' => array('N', 'Y'), 'default_value' => 'N' )), 'CNT' => new Entity\ExpressionField('CNT', 'COUNT(*)') ); } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.8 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка