本文整理汇总了PHP中Appointment::getAppointment方法的典型用法代码示例。如果您正苦于以下问题:PHP Appointment::getAppointment方法的具体用法?PHP Appointment::getAppointment怎么用?PHP Appointment::getAppointment使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Appointment
的用法示例。
在下文中一共展示了Appointment::getAppointment方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: array
<a href="index.php"><input name="" type="button" class="back_btn" value="<<Back"/></a>
</div> <h1>Cases</h1>
<div id="loading"></div>
<div id="container">
<div class="data">
</div>
<div class="pagination">
</div>
<?php
if (isset($_POST['search_data'])) {
$firstname = mysql_real_escape_string($_POST['plantiffName']);
$lastname = mysql_real_escape_string($_POST['plantiflName']);
$dob = mysql_real_escape_string($_POST['dob']);
$cases = mysql_real_escape_string($_POST['type_of_cases']);
$search = array($firstname, $lastname, $dob, $cases);
$functions->getClientRecords($attorneys_id, 10, 4, $search);
} else {
$functions->getClientRecords($attorneys_id, 10, 4, "");
$functions->getAppointment($attorneys_id);
}
?>
</div>
</div>
</div>
</div>
</section>
<?php
require $get_footer;
} else {
header('Location:../../login.php');
}
示例2: date
}
if (!isset($_POST['remind_phone'])) {
$_POST['remind_phone'] = '0';
}
$_POST['modify_id'] = $_SESSION['sess_user_name'];
$_POST['modify_time'] = date('YmdHis');
$_POST['history'] = $obj->ConcatHistory("Update: " . date('Y-m-d H:i:s') . " : " . $_SESSION['sess_user_name'] . "\n");
} else {
$_POST['appt_status'] = 'pending';
$_POST['create_id'] = $_SESSION['sess_user_name'];
$_POST['create_time'] = date('YmdHis');
$_POST['history'] = "Created: " . date('Y-m-d H:i:s') . " " . $_SESSION['sess_user_name'] . "\n";
}
include './include/save_admission_data.inc.php';
} elseif ($mode == 'select' && !empty($nr)) {
$appt_row = $obj->getAppointment($nr);
if (is_array($appt_row)) {
extract($appt_row);
//while(list($x,$v)=each($appt_row)) $$x=$v;
}
} elseif ($mode == 'appt_cancel' && !empty($nr)) {
$_POST['history'] = $obj->ConcatHistory("Cancel: " . date('Y-m-d H:i:s') . " : " . $_SESSION['sess_user_name'] . "\n");
$_POST['appt_status'] = 'cancelled';
$_POST['cancel_reason'] = $reason;
$_POST['modify_id'] = $_SESSION['sess_user_name'];
$_POST['modify_time'] = date('YmdHis');
$mode = 'update';
include './include/save_admission_data.inc.php';
}
}
$lang_tables = array('prompt.php', 'departments.php');