本文整理匯總了PHP中URLHelper::GetLink方法的典型用法代碼示例。如果您正苦於以下問題:PHP URLHelper::GetLink方法的具體用法?PHP URLHelper::GetLink怎麽用?PHP URLHelper::GetLink使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類URLHelper
的用法示例。
在下文中一共展示了URLHelper::GetLink方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: USING
echo "<td align=\"center\" class=\"".$cssSw->getClass()."\">";
$db4query = "SELECT ". $_fullname_sql['full'] ." AS fullname, username, position FROM seminar_user
LEFT JOIN auth_user_md5 USING (user_id)
LEFT JOIN user_info USING (user_id)
WHERE Seminar_id = ? and status = 'dozent' ORDER BY position ";
$k=0;
$db4statement = DBManager::get()->prepare($db4query);
$dbparams = array($seminar_id);
$db4statement->execute($dbparams);
$db4row = $db4statement->fetch(PDO::FETCH_ASSOC);
if ($db4row === false)
echo " ";
do{
if ($db4row['username']) {
if ($k) echo ', ';
echo "<a href=\"".URLHelper::GetLink("dispatch.php/profile?username=".$db4row['username'])."\">".htmlReady($db4row['fullname'])."</a>";
$k++;
}
}while($db4row = $db4statement->fetch(PDO::FETCH_ASSOC));
echo "</td>";
?>
<td class="<?php
echo $cssSw->getClass();
?>
" align="center">
<? if (SeminarCategories::getByTypeId($result['status'])) : ?>
<?php
echo htmlReady(SeminarCategories::GetByTypeId($result['status'])->getNameOfType($result['status']));
?>
<br>