本文整理汇总了PHP中UI::get_profile_link方法的典型用法代码示例。如果您正苦于以下问题:PHP UI::get_profile_link方法的具体用法?PHP UI::get_profile_link怎么用?PHP UI::get_profile_link使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类UI
的用法示例。
在下文中一共展示了UI::get_profile_link方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
</div>
<div id="stories-container">
<div class="box-shadow card">
<div class="main-card-content">
<div class="top-info">
<div class="side-picture">
<img src="<?php
echo $logged_in_user->get_profile_picture();
?>
"
class="profile-thumbnail">
</div>
<div class="poster-info">
<div class="top-poster-info">
<?php
echo UI::get_profile_link($logged_in_user, "author");
?>
</div>
<div class="bottom-poster-info">
<span class="light">10 hours ago</span>
</div>
</div>
</div>
<div class="post-content">
<p>I love Friendbook!</p>
<p>It's great!</p>
</div>
</div>
<div class="post-extra card-separator">
<div class="post-actions-row">
<ul>
示例2:
?>
<div class="left column">
<div class="box-shadow card">
<div class="card-separator main-card-content">
<div class="top-info">
<div class="side-picture">
<img src="<?php
echo $logged_in_user->get_profile_picture();
?>
"
class="profile-thumbnail">
</div>
<div class="poster-info">
<div class="top-poster-info">
<?php
echo UI::get_profile_link($logged_in_user);
?>
</div>
</div>
</div>
</div>
<div class="card-separator">
<span class="icon-container">
<img src="../images/Icons/32px/277-exit.png" class="icon">
</span>
<span class="vert-a">
<a href="logout.php" title="Log out of Friendbook">Log out</a>
</span>
</div>
</div>
<div class="box-shadow card">