本文整理汇总了PHP中Functions::format_url方法的典型用法代码示例。如果您正苦于以下问题:PHP Functions::format_url方法的具体用法?PHP Functions::format_url怎么用?PHP Functions::format_url使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Functions
的用法示例。
在下文中一共展示了Functions::format_url方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
?>
</td></tr>
<tr><td>PageUrl</td><td>: <?php
echo Functions::format_url(@$Page->PageUrl);
?>
</td></tr>
<tr><td>ThumbnailUrl</td><td>: <?php
echo Functions::format_url(@$Page->ThumbnailUrl);
?>
</td></tr>
<tr><td>FullSizeImageUrl</td><td>: <?php
echo Functions::format_url(@$Page->FullSizeImageUrl);
?>
</td></tr>
<tr><td>OcrUrl</td><td>: <?php
echo Functions::format_url(@$Page->OcrUrl);
?>
</td></tr>
<tr valign="top"><td>OcrText</td><td>: <?php
echo self::string_or_object(@$Page->OcrText);
?>
</td></tr>
<?php
/* working but workflow changed...
$pass_title = $Page->PageID;
// $export_url = "../bhl_access/index.php?page_id=" . $Page->PageID . "&item_id=" . $Page->ItemID . "&title_id=" . $title_id . "&pass_title=" . urlencode($pass_title) . "&search_type=move2wiki"; working but not used anymore...
if($url_params = self::check_if_this_title_has_wiki($pass_title, "v1"))
{
$wiki = "http://" . $_SERVER['SERVER_NAME'] . "/" . MEDIAWIKI_MAIN_FOLDER . "/wiki/" . $Page->PageID;
// self::image_with_text(array("text" => "Wiki already exists for this excerpt.", "src" => "../images/wiki-icon.png", "alt_text" => "View Wiki here", "href" => $wiki)); working script
示例2: Author
?>
</td></tr>
<tr><td>PublisherName</td> <td>: <?php
echo $title->PublisherName;
?>
</td></tr>
<tr><td>PublicationDate</td> <td>: <?php
echo $title->PublicationDate;
?>
</td></tr>
<tr><td>PublicationFrequency</td> <td>: <?php
echo $title->PublicationFrequency;
?>
</td></tr>
<tr><td>TitleUrl</td> <td>: <?php
echo Functions::format_url($title->TitleUrl);
?>
</td></tr>
</table>
</div>
<div id="tabs<?php
echo $tabs_count;
?>
-2">
Author(s): <?php
echo count($title->Authors->Creator);
?>
<br>
<table>
<?php
示例3:
-->
<td><?php
echo $Part->Title;
?>
</td>
<td><?php
echo $Part->ContainerTitle;
?>
</td>
<td><?php
echo $Part->Date;
?>
</td>
<td><?php
echo Functions::format_url($Part->PartUrl);
?>
</td>
</tr>
<?php
}
?>
</table>
<?php
}
?>
</div>
</div><!-- tabs end -->
</div><!-- accordion end -->
示例4: count
?>
</td></tr>
<tr><td>ThumbnailPageID</td> <td>: <?php
echo self::get_url_by_id("pagethumb", $Item->ThumbnailPageID);
?>
</td></tr>
<tr><td>Volume</td> <td>: <?php
echo $Item->Volume;
?>
</td></tr>
<tr><td>Contributor</td> <td>: <?php
echo $Item->Contributor;
?>
</td></tr>
<tr><td>ItemUrl</td> <td>: <?php
echo Functions::format_url($Item->ItemUrl);
?>
</td></tr>
</table>
<br>
<?php
$collections_count = count($Item->Collections->Collection);
?>
Collection(s): <?php
echo $collections_count;
?>
<br>
<?php
if ($collections_count) {
foreach ($Item->Collections->Collection as $Collection) {
?>
示例5:
?>
</td></tr>
<tr><td>RightsStatus</td><td>: <?php
echo self::check_arr(@$Part['RightsStatus']);
?>
</td></tr>
<tr><td>RightsStatement</td><td>: <?php
echo self::check_arr(@$Part['RightsStatement']);
?>
</td></tr>
<tr><td>LicenseName</td><td>: <?php
echo self::check_arr(@$Part['LicenseName']);
?>
</td></tr>
<tr><td>LicenseUrl</td><td>: <?php
echo Functions::format_url(self::check_arr(@$Part['LicenseUrl']));
?>
</td></tr>
<tr><td>Doi</td><td>: <?php
echo self::check_arr(@$Part['Doi']);
?>
</td></tr>
</table>
</div>
<div id="tabs-2">
<table>
<?php
//print_r(@$Part['Authors']['Creator']) //debug
?>