本文整理汇总了PHP中EntryManager::getListOfKidBriefByVerbatim方法的典型用法代码示例。如果您正苦于以下问题:PHP EntryManager::getListOfKidBriefByVerbatim方法的具体用法?PHP EntryManager::getListOfKidBriefByVerbatim怎么用?PHP EntryManager::getListOfKidBriefByVerbatim使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类EntryManager
的用法示例。
在下文中一共展示了EntryManager::getListOfKidBriefByVerbatim方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: isset
//echo "<br>searchresult.php: GET['verbatim'] is NOT set. " . $verbatim;
}
$search_text = isset($_GET['searchtext']) ? rawurldecode($_GET['searchtext']) : "";
$tgt_lang = isset($_GET['tgtlang']) ? $_GET['tgtlang'] : "";
$from_date = isset($_GET['fromdate']) ? $_GET['fromdate'] : "";
$end_date = isset($_GET['enddate']) ? $_GET['enddate'] : "";
//echo "<br>sr::verbatim is [".$verbatim . "]</br>";
//echo "<br>sr::search text is [".$search_text . "]</br>";
//echo "<br>sr::target language is [".$tgt_lang . "]</br>";
//echo "<br>sr::from date is [".$from_date . "]</br>";
//echo "<br>sr::end date is [".$end_date . "]</br>";
$em = new EntryManager();
// 1
$dad = $em->getFatherByVerbatim($verbatim);
// 2
$array_of_kids = $em->getListOfKidBriefByVerbatim($verbatim);
// 3
//echo "size of array_of_kids: ".count($array_of_kids)."</br>";
//echo "</br>dad entry id: ".$dad->getEntryId();
//var_dump($array_of_kids);
?>
<div id="land" style="min-height: 400px;">
<div id="village">
<?php
if (trim($search_text) == "") {
//browse mode if there is no search words
include "browseresult.php";
} else {
//search mode mode if there are search words