Server IP : 80.87.202.40 / Your IP : 216.73.216.169 Web Server : Apache System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64 User : bitrix ( 600) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/bitrix/ext_www/rospirotorg.ru/bitrix/modules/blog/lib/ |
Upload File : |
<?php /** * Bitrix Framework * @package bitrix * @subpackage blog * @copyright 2001-2012 Bitrix */ namespace Bitrix\Blog; use Bitrix\Main\Entity; use Bitrix\Main\NotImplementedException; /** * Class CommentTable * * DO NOT WRITE ANYTHING BELOW THIS * * <<< ORMENTITYANNOTATION * @method static EO_Comment_Query query() * @method static EO_Comment_Result getByPrimary($primary, array $parameters = array()) * @method static EO_Comment_Result getById($id) * @method static EO_Comment_Result getList(array $parameters = array()) * @method static EO_Comment_Entity getEntity() * @method static \Bitrix\Blog\EO_Comment createObject($setDefaultValues = true) * @method static \Bitrix\Blog\EO_Comment_Collection createCollection() * @method static \Bitrix\Blog\EO_Comment wakeUpObject($row) * @method static \Bitrix\Blog\EO_Comment_Collection wakeUpCollection($rows) */ class CommentTable extends Entity\DataManager { public static function getTableName() { return 'b_blog_comment'; } public static function getUfId() { return 'BLOG_COMMENT'; } public static function getMap() { $fieldsMap = array( 'ID' => array( 'data_type' => 'integer', 'primary' => true, 'autocomplete' => true, ), 'BLOG_ID' => array( 'data_type' => 'integer' ), 'POST_ID' => array( 'data_type' => 'integer' ), 'POST' => array( 'data_type' => '\Bitrix\Blog\Post', 'reference' => array('=this.POST_ID' => 'ref.ID') ), 'PARENT_ID' => array( 'data_type' => 'integer' ), 'AUTHOR_ID' => array( 'data_type' => 'integer' ), 'ICON_ID' => array( 'data_type' => 'integer' ), 'AUTHOR_NAME' => array( 'data_type' => 'string' ), 'AUTHOR_EMAIL' => array( 'data_type' => 'string' ), 'AUTHOR_IP' => array( 'data_type' => 'string' ), 'AUTHOR_IP1' => array( 'data_type' => 'string' ), 'DATE_CREATE' => array( 'data_type' => 'datetime' ), 'TITLE' => array( 'data_type' => 'string' ), 'POST_TEXT' => array( 'data_type' => 'text', ), 'PUBLISH_STATUS' => array( 'data_type' => 'string', ), 'HAS_PROPS' => array( 'data_type' => 'string', 'values' => array('N','Y') ), 'SHARE_DEST' => array( 'data_type' => 'string', ), 'PATH' => array( 'data_type' => 'string', ), ); return $fieldsMap; } public static function add(array $data) { throw new NotImplementedException("Use CBlogComment class."); } public static function update($primary, array $data) { throw new NotImplementedException("Use CBlogComment class."); } public static function delete($primary) { throw new NotImplementedException("Use CBlogComment class."); } }