本文整理匯總了PHP中Technology::GetAllTechnology方法的典型用法代碼示例。如果您正苦於以下問題:PHP Technology::GetAllTechnology方法的具體用法?PHP Technology::GetAllTechnology怎麽用?PHP Technology::GetAllTechnology使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Technology
的用法示例。
在下文中一共展示了Technology::GetAllTechnology方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: Technology
<div class="menu-item menu-nav-item col-sm-3">
<a href="eqp-menu.html"><img src="assets/img/eqp-1.png" alt="Equipment"></a>
<a href="eqp-menu.html">Title</a>
</div>
<div class="menu-item menu-nav-item col-sm-3">
<a href="eqp-menu.html"><img src="assets/img/eqp-1.png" alt="Equipment"></a>
<a href="eqp-menu.html">Title</a>
</div>
-->
</div>
<div class="row row3">
<div class="section white-border-top">
<h2>Equipment Technology</h2>
<?php
$objTechnology = new Technology();
$oTechnology = $objTechnology->GetAllTechnology('sort_order');
foreach ($oTechnology as $technology) {
echo '<div class="menu-item col-sm-4">' . PHP_EOL;
echo ' <a data-id="/' . $objTechnology->getPath() . $technology->TechnologyButtonActiveImageUrl . '" href="' . $technology->LinkUrl . '" class="icon-mousedown"><img src="' . $objTechnology->getPath() . $technology->TechnologyButtonImageUrl . '" alt="' . $technology->TechnologyName . '"></a>' . PHP_EOL;
echo ' <a href="' . $technology->LinkUrl . '">' . $technology->TechnologyName . '</a>' . PHP_EOL;
echo '</div>' . PHP_EOL;
}
?>
<!--
<div class="menu-item col-sm-4">
<a data-id="tech-sound" href="tech-sound.html" class="icon-mousedown"><img src="assets/img/tech-sound.png" alt="Audio"></a>
<a href="tech-sound.html">Audio Reduction</a>
</div>
<div class="menu-item col-sm-4">
<a data-id="tech-ibeacon" href="tech-ibeacon.html" class="icon-mousedown"><img src="assets/img/tech-ibeacon.png" alt="Ibeacon"></a>
<a href="tech-ibeacon.html">iBeacon</a>