本文整理匯總了PHP中ListPage::addCommonHtml方法的典型用法代碼示例。如果您正苦於以下問題:PHP ListPage::addCommonHtml方法的具體用法?PHP ListPage::addCommonHtml怎麽用?PHP ListPage::addCommonHtml使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類ListPage
的用法示例。
在下文中一共展示了ListPage::addCommonHtml方法的3個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: addCommonHtml
/**
* Add common html code for simple mode on list page
*/
function addCommonHtml()
{
$this->body["begin"] .= GetBaseScriptsForPage($this->isDisplayLoading);
//add parent common html code
parent::addCommonHtml();
// assign body end
$this->body['end'] = array();
AssignMethod($this->body['end'], "assignBodyEnd", $this);
}
示例2: addCommonHtml
/**
* Add common html code for simple mode on list page
*/
function addCommonHtml()
{
$this->body["begin"] .= "<script type=\"text/javascript\" src=\"include/loadfirst.js\"></script>";
$this->body["begin"] .= "<script type=\"text/javascript\" src=\"include/lang/" . getLangFileName(mlang_getcurrentlang()) . ".js\"></script>";
if ($this->isDisplayLoading) {
$this->body["begin"] .= "<script type=\"text/javascript\">Runner.runLoading(" . $this->id . ",document.body,0);</script>";
}
//$this->AddJSFile("include/customlabels");
//add parent common html code
parent::addCommonHtml();
// assign body end
$this->body['end'] = array();
$this->body['end']["method"] = "assignBodyEnd";
$this->body['end']["object"] =& $this;
}
示例3: addCommonHtml
/**
* Add common html code for curent mode
*
*/
function addCommonHtml()
{
parent::addCommonHtml();
$this->xt->assign("footer", "");
}