本文整理汇总了PHP中Student::get_fullname方法的典型用法代码示例。如果您正苦于以下问题:PHP Student::get_fullname方法的具体用法?PHP Student::get_fullname怎么用?PHP Student::get_fullname使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Student
的用法示例。
在下文中一共展示了Student::get_fullname方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: strtolower
<div class="buddy-list-entry col-lg-2 col-md-2 col-sm-3 col-xs-4">
<a href="<?php
echo BASE;
?>
student/<?php
echo strtolower($buddy->get_username());
?>
/">
<img src="<?php
echo $buddy->get_avatar();
?>
" class="student-avatar">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<h3 class="student-name text-center">
<?php
echo $buddy->get_fullname();
?>
</h3>
</div>
</a>
</div>
<?php
}
?>
</div>
</div>
</div>
<?php
require '../includes/footer.php';
?>
</body>
示例2: Student
" class="form-control">
<input type="submit" class="btn btn-primary" value="Search!">
</form>
<hr>
<?php
foreach ($search_student_ids as $student_id) {
$search_student = new Student($student_id);
?>
<label>Username: </label>
<?php
echo $search_student->get_username();
?>
<br/>
<label>Name: </label>
<?php
echo $search_student->get_fullname();
?>
<br/>
<label>Email: </label>
<?php
echo $search_student->get_email();
?>
<br/>
<a href="<?php
echo BASE;
?>
student/<?php
echo $search_student->get_username();
?>
/" class="btn btn-default">Details</a>
<div class="clearfix"></div>
示例3: foreach
foreach ($possible_invites as $possible_invite_student_id) {
$possible_invite_student = new Student($possible_invite_student_id);
$disabled = "";
if ($possible_invite_student->check_if_invite_for_group_is_pending($group->get_id())) {
$disabled = "disabled='disable'";
}
?>
<option <?php
echo $disabled;
?>
value="<?php
echo $possible_invite_student->get_id();
?>
">
<?php
echo $possible_invite_student->get_fullname();
?>
(<?php
echo $possible_invite_student->get_username();
?>
)
</option>
<?php
}
?>
</select>
</div>
</div>
<div class="row">
<div class="col-lg-8 col-md-8 col-sm-10 col-xs-12 col-lg-offset-2 col-md-offset-2 col-sm-offset-1">
<textarea class="form-control textarea" placeholder="Write a short Invite Message" name="message"></textarea>
示例4:
?>
</h3>
</div>
</div>
</a>
</div>
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-4">
<div class="invite-info">
<button class="btn btn-primary btn-sm" data-toggle="modal" data-target="#replyModal<?php
echo $group_invite_id;
?>
">Reply</button>
<hr class="minor-line" style="margin-top: 5px">
<div class="overflow-auto invite-list-info">
Invited by: <a href=""><?php
echo $invitor->get_fullname();
?>
</a><br/>
Invited at: <?php
echo $group_invite['time'];
?>
<br/>
<?php
if (!empty($group_invite['message'])) {
echo 'Invite Message: ' . $group_invite['message'] . '<br/>';
}
?>
<br/>
<?php
echo $group->get_public_or_private();
?>