本文整理汇总了PHP中Xtempl::getReadingOrder方法的典型用法代码示例。如果您正苦于以下问题:PHP Xtempl::getReadingOrder方法的具体用法?PHP Xtempl::getReadingOrder怎么用?PHP Xtempl::getReadingOrder使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Xtempl
的用法示例。
在下文中一共展示了Xtempl::getReadingOrder方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: array
$dViewControlsMap = array();
$flyId = $ids + 1;
for ($d = 0; $d < count($dpParams['ids']); $d++) {
$options = array();
//array of params for classes
$options["mode"] = LIST_DETAILS;
$options["pageType"] = PAGE_LIST;
$options["masterPageType"] = PAGE_ADD;
$options["mainMasterPageType"] = PAGE_ADD;
$options['masterTable'] = "pad.pad_customer";
$options['firstTime'] = 1;
$strTableName = $dpParams['strTableNames'][$d];
include_once "include/" . GetTableURL($strTableName) . "_settings.php";
$layout = GetPageLayout(GoodFieldName($strTableName), PAGE_LIST);
if ($layout) {
$rtl = $xt->getReadingOrder() == 'RTL' ? 'RTL' : '';
$xt->cssFiles[] = array("stylepath" => "styles/" . $layout->style . '/style' . $rtl . ".css", "pagestylepath" => "pagestyles/" . $layout->name . $rtl . ".css");
$xt->IEcssFiles[] = array("stylepathIE" => "styles/" . $layout->style . '/styleIE' . ".css");
}
$options['xt'] = new Xtempl();
$options['id'] = $dpParams['ids'][$d];
$options['flyId'] = $flyId++;
$mkr = 1;
foreach ($mKeys[$strTableName] as $mk) {
if ($defvalues[$mk]) {
$options['masterKeysReq'][$mkr++] = $defvalues[$mk];
} else {
$options['masterKeysReq'][$mkr++] = '';
}
}
$listPageObject = ListPage::createListPage($strTableName, $options);