本文整理汇总了PHP中umiHierarchy::getTimeStamp方法的典型用法代码示例。如果您正苦于以下问题:PHP umiHierarchy::getTimeStamp方法的具体用法?PHP umiHierarchy::getTimeStamp怎么用?PHP umiHierarchy::getTimeStamp使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类umiHierarchy
的用法示例。
在下文中一共展示了umiHierarchy::getTimeStamp方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: loadInfo
protected function loadInfo($vf1965a857bc285d26fe22023aa5ab50d = false)
{
if ($vf1965a857bc285d26fe22023aa5ab50d === false) {
$vac5c74b64b4b8352ef2f181affb5ac2a = "SELECT h.rel, h.type_id, h.lang_id, h.domain_id, h.tpl_id, h.obj_id, h.ord, h.alt_name, h.is_active, h.is_visible, h.is_deleted, h.updatetime, h.is_default, o.name FROM cms3_hierarchy h, cms3_objects o WHERE h.id = '{$this->id}' AND o.id = h.obj_id";
$result = l_mysql_query($vac5c74b64b4b8352ef2f181affb5ac2a, true);
$vf1965a857bc285d26fe22023aa5ab50d = mysql_fetch_row($result);
}
if (list($v7ffc4d510260a8544e5550e62ec56bc1, $v94757cae63fd3e398c0811a976dd6bbe, $v78e6dd7a49f5b0cb2106a3a434dd5c86, $v662cbf1253ac7d8750ed9190c52163e5, $vd02e12eb6d6c3f6ebd763197df01e211, $v818ad5ef6588e140ecb9f81e810c028a, $v8bef1cc20ada3bef55fdf132cb2a1cb9, $vd84ff935144e00c3e1d395c2379aca47, $v4264c638e0098acb172519b0436db099, $ve1c6c9ef2fcbe75f26f815c4ef2e60b4, $vf49e2553045b3240a95c36854d36dddc, $v3e04dc2abd929a9d02e2e0fa41d24bf9, $vf62baf4c4ead98d50d516eca0ac5a746, $vb068931cc450442b63f5b3d276ea4297) = $vf1965a857bc285d26fe22023aa5ab50d) {
if (!$v818ad5ef6588e140ecb9f81e810c028a) {
umiHierarchy::getInstance()->delElement($this->id);
$this->is_broken = true;
return false;
}
$this->rel = (int) $v7ffc4d510260a8544e5550e62ec56bc1;
$this->type_id = (int) $v94757cae63fd3e398c0811a976dd6bbe;
$this->lang_id = (int) $v78e6dd7a49f5b0cb2106a3a434dd5c86;
$this->domain_id = (int) $v662cbf1253ac7d8750ed9190c52163e5;
$this->tpl_id = (int) $vd02e12eb6d6c3f6ebd763197df01e211;
$this->object_id = (int) $v818ad5ef6588e140ecb9f81e810c028a;
$this->ord = (int) $v8bef1cc20ada3bef55fdf132cb2a1cb9;
$this->alt_name = $vd84ff935144e00c3e1d395c2379aca47;
$this->is_active = (bool) $v4264c638e0098acb172519b0436db099;
$this->is_visible = (bool) $ve1c6c9ef2fcbe75f26f815c4ef2e60b4;
$this->is_deleted = (bool) $vf49e2553045b3240a95c36854d36dddc;
$this->is_default = (bool) $vf62baf4c4ead98d50d516eca0ac5a746;
$this->name = $vb068931cc450442b63f5b3d276ea4297;
if (!$v3e04dc2abd929a9d02e2e0fa41d24bf9) {
$v3e04dc2abd929a9d02e2e0fa41d24bf9 = umiHierarchy::getTimeStamp();
}
$this->update_time = (int) $v3e04dc2abd929a9d02e2e0fa41d24bf9;
return true;
} else {
$this->is_broken = true;
return false;
}
}