���ѧۧݧ�ӧ�� �ާ֧ߧ֧էا֧� - ���֧էѧܧ�ڧ��ӧѧ�� - /home/alphpwcp/public_html/us/alphachat/lib/models/lhquestionary/erlhcoreclassmodelquestionanswer.php
���ѧ٧ѧ�
<?php #[\AllowDynamicProperties] class erLhcoreClassModelQuestionAnswer { public function getState() { return array( 'id' => $this->id, 'ip' => $this->ip, 'question_id' => $this->question_id, 'answer' => $this->answer, 'ctime' => $this->ctime, ); } public function setState( array $properties ) { foreach ( $properties as $key => $val ) { $this->$key = $val; } } public static function fetch($assignee_id) { $group_user = erLhcoreClassQuestionary::getSession('slave')->load( 'erLhcoreClassModelQuestionAnswer', (int)$assignee_id ); return $group_user; } public function removeThis() { erLhcoreClassQuestionary::getSession()->delete($this); } public function saveThis() { $this->ctime = time(); $this->ip = ip2long(erLhcoreClassIPDetect::getIP()); erLhcoreClassQuestionary::getSession()->saveOrUpdate($this); } public function __get($var){ switch ($var) { case 'ip_front': $this->ip_front = long2ip($this->ip); return $this->ip_front; break; default: break; } } public $id = null; public $ip = 0; public $question_id = null; public $answer = null; public $ctime = null; } ?>
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | ���֧ߧ֧�ѧ�ڧ� ����ѧߧڧ��: 0 |
proxy
|
phpinfo
|
���ѧ����ۧܧ�