本文整理匯總了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">