uawdijnntqw1x1x1
IP : 216.73.216.163
Hostname : yjpwxulqtt
Kernel : Linux yjpwxulqtt 5.15.0-126-generic #136-Ubuntu SMP Wed Nov 6 10:38:22 UTC 2024 x86_64
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,exec,system,passthru,shell_exec,proc_open,popen
OS : Linux
PATH:
/
home
/
user
/
web
/
pansionat-v-yaroslavle.ru
/
public_html
/
70645
/
..
/
bitrix
/
modules
/
seo
/
lib
/
adv
/
order.php
/
/
<?php namespace Bitrix\Seo\Adv; use Bitrix\Main\Application; use Bitrix\Main\Entity; use Bitrix\Main\Type\DateTime; use Bitrix\Main\Web\HttpClient; use Bitrix\Seo\Engine; /** * Class OrderTable * * Fields: * <ul> * <li> ID int mandatory * <li> ENGINE_ID int mandatory * <li> TIMESTAMP_X datetime mandatory default 'CURRENT_TIMESTAMP' * <li> REQUEST_URI string(100) mandatory * <li> REQUEST_DATA string optional * <li> RESPONSE_TIME double mandatory * <li> RESPONSE_STATUS int optional * <li> RESPONSE_DATA string optional * </ul> * * @package Bitrix\Seo **/ class OrderTable extends Entity\DataManager { const PROCESSED = 'Y'; const NOT_PROCESSED = 'N'; /** * Returns DB table name for entity. * * @return string */ public static function getTableName() { return 'b_seo_adv_order'; } /** * Returns entity map definition. * * @return array */ public static function getMap() { return array( 'ID' => array( 'data_type' => 'integer', 'primary' => true, 'autocomplete' => true, ), 'ENGINE_ID' => array( 'data_type' => 'integer', 'required' => true, ), 'TIMESTAMP_X' => array( 'data_type' => 'datetime', 'required' => true, ), 'CAMPAIGN_ID' => array( 'data_type' => 'integer', 'required' => true, ), 'BANNER_ID' => array( 'data_type' => 'integer', 'required' => true, ), 'ORDER_ID' => array( 'data_type' => 'integer', 'required' => true, ), 'SUM' => array( 'data_type' => 'float', ), 'PROCESSED' => array( 'data_type' => 'boolean', 'values' => array(static::NOT_PROCESSED, static::PROCESSED), ), 'CAMPAIGN' => array( 'data_type' => 'Bitrix\Seo\Adv\YandexCampaignTable', 'reference' => array('=this.CAMPAIGN_ID' => 'ref.ID'), ), 'BANNER' => array( 'data_type' => 'Bitrix\Seo\Adv\YandexBannerTable', 'reference' => array('=this.BANNER_ID' => 'ref.ID'), ), 'ORDER' => array( 'data_type' => 'Bitrix\Sale\OrderTable', 'reference' => array('=this.ORDER_ID' => 'ref.ID'), ) ); } public static function onBeforeAdd(Entity\Event $event) { $result = new Entity\EventResult(); $result->modifyFields(array("TIMESTAMP_X" => new DateTime())); return $result; } }
/home/user/web/pansionat-v-yaroslavle.ru/public_html/70645/../bitrix/modules/seo/lib/adv/order.php