本文整理匯總了PHP中BaseClass::loadFromHTML方法的典型用法代碼示例。如果您正苦於以下問題:PHP BaseClass::loadFromHTML方法的具體用法?PHP BaseClass::loadFromHTML怎麽用?PHP BaseClass::loadFromHTML使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類BaseClass
的用法示例。
在下文中一共展示了BaseClass::loadFromHTML方法的3個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: loadFromHTML
function loadFromHTML($p = null)
{
$ret = parent::loadFromHTML($p);
$this->userRussianName = sprintf("%s %s %s", $this->userRussianName1, $this->userRussianName2, $this->userRussianName3);
$this->userLatinName = sprintf("%s %s %s", $this->userLatinName1, $this->userLatinName2);
return $ret;
}
示例2: loadFromHTML
function loadFromHTML($data = false)
{
global $_POST;
if (isset($_POST[formSubmit])) {
$this->tripShowAvPlaces = 0;
$this->tripHidden = 0;
$this->langRU = 0;
$this->langEN = 0;
}
return parent::loadFromHTML($data);
}
示例3: loadFromHTML
function loadFromHTML($data = false)
{
global $_POST;
if (isset($_POST[tourTitle])) {
$this->tourShowAvPlaces = 0;
$this->tourBlockTransfers = 0;
$this->langRU = 0;
$this->langEN = 0;
}
$ret = parent::loadFromHTML($data);
$g = new Guides($this->guideID);
$this->guideName = $g->guideName;
$g = new Guides($this->guideID2);
$this->guideName2 = $g->guideName;
$g = new Guides($this->guideKuratorID);
$this->guideKuratorName = $g->guideName;
$this->guideKuratorEmail = $g->guideEmail1;
return $ret;
}