本文整理汇总了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