本文整理汇总了PHP中EntryManager::getListOfEntryBriefBySearch方法的典型用法代码示例。如果您正苦于以下问题:PHP EntryManager::getListOfEntryBriefBySearch方法的具体用法?PHP EntryManager::getListOfEntryBriefBySearch怎么用?PHP EntryManager::getListOfEntryBriefBySearch使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类EntryManager
的用法示例。
在下文中一共展示了EntryManager::getListOfEntryBriefBySearch方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: is_full
echo "<br>sr::to: >" . $_GET['t'] . "<";
$t = $_GET['t'];
echo "<br>sr::auth: >" . $_GET['a'] . "<";
$a = $_GET['a'];
$em = new EntryManager();
function is_full($entry)
{
// if entry is good (i.e. not null), then return TRUE
return !null == $entry->getEntryId();
}
//function is_full2($family){
// // if entry is good (i.e. not null), then return TRUE
// return (!null == $family[0]->getEntryId());
//}
//$entries[] = new Entry();
$entries = $em->getListOfEntryBriefBySearch($v, $l, $f, $t, $a);
echo "<br>count(entries)=" . count($entries);
//var_dump($entries);
//$family[] = new Entry();
//Case 3 - time frame
//can have 0> dads and 0> kids
// TTTTTTT sort entries by authenticity status TTTTTTTTTT
// 7
function cmpAuth($a, $b)
{
return strcmp($a->getEntryAuthenStatusId(), $b->getEntryAuthenStatusId());
}
// 6
function cmpLang($a, $b)
{
return strcmp($a->getEntryLanguage(), $b->getEntryLanguage());