���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home/alphpwcp/public_html/us/alphachat/lib/models/lhuser/erlhcoreclassmodelgroup.php
���ѧ٧ѧ�
<?php #[\AllowDynamicProperties] class erLhcoreClassModelGroup { use erLhcoreClassDBTrait; public static $dbTable = 'lh_group'; public static $dbTableId = 'id'; public static $dbSessionHandler = 'erLhcoreClassUser::getSession'; public static $dbSortOrder = 'DESC'; public function getState() { return array( 'id' => $this->id, 'name' => $this->name, 'disabled' => $this->disabled, 'required' => $this->required ); } public function __toString() { return $this->name; } public function afterRemove() { $q = ezcDbInstance::get()->createDeleteQuery(); // Transfered chats to user $q->deleteFrom('lh_groupuser')->where($q->expr->eq('group_id', $this->id)); $stmt = $q->prepare(); $stmt->execute(); // Transfered chats to user $q->deleteFrom('lh_grouprole')->where($q->expr->eq('group_id', $this->id)); $stmt = $q->prepare(); $stmt->execute(); } public $id = null; public $name = ''; public $disabled = 0; public $required = 0; } ?>
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�