���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home/alphpwcp/public_html/us/alphachat/lib/models/lhmailconv/erlhcoreclassmodelmailconvmessageinternal.php
���ѧ٧ѧ�
<?php /** * * user_id - administartor user_id, * If 0 web user * * */ #[\AllowDynamicProperties] class erLhcoreClassModelMailconvMessageInternal { use erLhcoreClassDBTrait; public static $dbTable = 'lhc_mailconv_msg_internal'; public static $dbTableId = 'id'; public static $dbSessionHandler = 'erLhcoreClassMailconv::getSession'; public static $dbSortOrder = 'ASC'; public function getState() { return array( 'id' => $this->id, 'msg' => $this->msg, 'meta_msg' => $this->meta_msg, 'time' => $this->time, 'chat_id' => $this->chat_id, 'user_id' => $this->user_id, 'name_support' => $this->name_support ); } public function beforeSave($params = array()) { if ($this->time == 0) { $this->time = time(); } } public function __get($var) { switch ($var) { case 'time_front': if (date('Ymd') == date('Ymd', $this->time)) { $this->time_front = date(erLhcoreClassModule::$dateHourFormat, $this->time); } else { $this->time_front = date(erLhcoreClassModule::$dateDateHourFormat, $this->time); } return $this->time_front; case 'meta_msg_array': $this->meta_msg_array = array(); if ($this->meta_msg != '') { $jsonData = json_decode($this->meta_msg,true); if ($jsonData !== null) { $this->meta_msg_array = $jsonData; } } return $this->meta_msg_array; default: break; } } public $id = null; public $time = 0; public $chat_id = null; public $user_id = null; public $name_support = ''; public $msg = ''; public $meta_msg = ''; public $is_archive = false; } ?>
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0.01 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�