本文整理汇总了PHP中Cell::toString方法的典型用法代码示例。如果您正苦于以下问题:PHP Cell::toString方法的具体用法?PHP Cell::toString怎么用?PHP Cell::toString使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Cell
的用法示例。
在下文中一共展示了Cell::toString方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: fixSearchString
if ($locations[0]->name == null && $_GET['n'] != null) {
$locations[0]->name = fixSearchString($_GET['n']);
}
}
//$affiliateDiv = new Div(null, "noselect", "font-size:7pt;color:#CCCCCC;", "(not affiliated with Google)");
//$poweredByDiv->addDataElement($affiliateDiv);
echo $linksDiv->toString();
?>
<table id="header">
<tr>
<?php
$logoDiv = new Div(null, "logo", new Link($link, new Image("logo", "images/{$logo}", "Go To {$link}", "55", "150")));
$headerLogoTD = new Cell("header_logo", null, null, $logoDiv);
$sloganDiv = new Div("slogan", null, $slogan);
$headerLogoTD->addData($sloganDiv);
echo $headerLogoTD->toString();
?>
<td width="100%">
<div id="printheader"></div>
<table class="form" width="100%">
<tr>
<td class="menu">
<?php
if ($type == 's2s') {
$s2s = "selected";
} else {
if ($type == 'location') {
$station = "selected";
} else {
$dir = "selected";
}
示例2: Image
<script type="text/javascript" src="/js/map.js"></script>
<title><?php
echo $head_title . $slogan;
?>
</title>
</head>
<body onresize="mapResize()">
<?php
echo $linksDiv->toString();
?>
<table id="header"><tr>
<?php
$logo_img = new Image("logo", null, "images/logo.png", "transitcompass", null, null);
$logo_link = new Link($link, $logo_img);
$logo_data = new Cell("logo", null, "color:#008000", $logo_link);
echo $logo_data->toString();
?>
</tr>
</table> <!-- end header table -->
<!--<table id="headertitle">
<tr><td class="title"><?php
#echo $title;
?>
</td><td id="toggle"> </td></tr>
</table>-->
<table id="maptable" style="font-size: 12px;">
<tr>
<td style="vertical-align: top;width: 300px">
<?php
$cities_link = array();
$cities_link[] = "transitcompass.com/nyc";