本文整理汇总了PHP中RunnerPage::init方法的典型用法代码示例。如果您正苦于以下问题:PHP RunnerPage::init方法的具体用法?PHP RunnerPage::init怎么用?PHP RunnerPage::init使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类RunnerPage
的用法示例。
在下文中一共展示了RunnerPage::init方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: init
function init()
{
parent::init();
$this->createElementContainers();
}
示例2: GetTableURL
}
$options['id'] = $dpParams['ids'][$d];
$options['flyId'] = $pageObject->genId()+1;
$options['tName'] = $strTableName;
$options['pageType'] = PAGE_CHART;
$options['shortTableName'] = GetTableURL($strTableName);
$_params["chartname"] = GetTableURL($strTableName);
$_params["table"] = $strTableName;
$_params["ctype"] = $dpParams['params'][$d];
$_params["singlePage"] = true;
$_params["id"] = $options['flyId'];
$options["xt"]->assign_function($options['shortTableName']."_chart","xt_showchart", $_params);
$chartPageObject = new RunnerPage($options);
$chartPageObject->init();
$options["xt"]->assign("chart_block",true);
$options["xt"]->assign("asearch_link",true);
$options["xt"]->assign("search_records_block",true);
$options["xt"]->assign("exportpdflink_attrs","onclick='chart.saveAsPDF();'");
$options["xt"]->assign("searchform_showall",true);
$options["xt"]->assign("showallbutton_attrs","onclick=\"window.location.href='".GetTableLink($options['shortTableName'], "chart", "a=showall")."';\"");
$options["xt"]->assign("advsearchlink_attrs", "id=\"advButton".$id."\"");
$options["xt"]->assign("style_block",true);
$options["xt"]->assign("shiftstyle_block", true);
$chartPageObject->addControlsJSAndCSS();
$chartPageObject->fillSetCntrlMaps();
$chartPageObject->body["begin"] = '';
$chartPageObject->body["end"] = '';
$options["xt"]->assign("body",$chartPageObject->body);
$options["xt"]->assign("style_block",true);
示例3: RunnerCipherer
$cipherer = new RunnerCipherer($strTableName);
$xt = new Xtempl();
$id = postvalue("id") != "" ? postvalue("id") : 1;
$all = postvalue("all");
$pageName = GetTableLink("print");
//array of params for classes
$params = array("id" => $id,
"tName" => $strTableName,
"pageType" => PAGE_PRINT);
$params["xt"] = &$xt;
$pageObject = new RunnerPage($params);
$pageObject->init();
// add button events if exist
$pageObject->addButtonHandlers();
// Modify query: remove blob fields from fieldlist.
// Blob fields on a print page are shown using imager.php (for example).
// They don't need to be selected from DB in print.php itself.
$noBlobReplace = false;
if(!postvalue("pdf") && !$noBlobReplace)
$gQuery->ReplaceFieldsWithDummies($pageObject->pSet->getBinaryFieldsIndices());
// Before Process event
if($eventObj->exists("BeforeProcessPrint"))
$eventObj->BeforeProcessPrint($conn, $pageObject);
示例5: init
public function init()
{
parent::init();
$this->searchControlBuilder = new AdvancedSearchControl($this->searchControllerId, $this->tName, $this->searchClauseObj, $this);
}
示例6: init
public function init()
{
parent::init();
if ($this->eventsObject->exists("BeforeProcessEdit")) {
$this->eventsObject->BeforeProcessEdit($this);
}
}