本文整理匯總了PHP中Participant::is_enrolled方法的典型用法代碼示例。如果您正苦於以下問題:PHP Participant::is_enrolled方法的具體用法?PHP Participant::is_enrolled怎麽用?PHP Participant::is_enrolled使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Participant
的用法示例。
在下文中一共展示了Participant::is_enrolled方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: DateTime
<!--I don't know what this is!-->
<td><strong>Name of referring teacher</strong></td>
<td><span class="basic_info_show"><?php
echo $person->teacher_reference;
?>
</span>
<input type="text" class="basic_info_edit" value="<?php
echo $person->teacher_reference;
?>
" id="referring_teacher">
</td>
</tr>
<tr>
<td><strong>Enrolled in a program?</strong></td>
<td><span class="basic_info_show"><?php
echo $person->is_enrolled();
?>
</span></td>
</tr>
<tr><td><strong>Date Information Entered: </strong></td>
<td><span class="basic_info_show"><?php
$entrydate = new DateTime($person->date_entered);
echo $entrydate->format('n/j/Y');
$followup = $entrydate->add(new DateInterval('P1M'));
?>
</span></td>
</tr>
<!--This is meant to remind partners to enter intake information. If the intake assessment
is past due, an alert will show up on the homepage.-->
<tr <?php