当前位置: 首页>>代码示例>>PHP>>正文


PHP Student::get_fullname方法代码示例

本文整理汇总了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>
开发者ID:DonBananos,项目名称:studyteam,代码行数:31,代码来源:buddies.php

示例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>
开发者ID:DonBananos,项目名称:studyteam,代码行数:31,代码来源:search.php

示例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>
开发者ID:DonBananos,项目名称:studyteam,代码行数:31,代码来源:details.php

示例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();
    ?>
开发者ID:DonBananos,项目名称:studyteam,代码行数:31,代码来源:invites.php


注:本文中的Student::get_fullname方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。