本文整理汇总了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;
}