本文整理汇总了PHP中Frontend::getChild方法的典型用法代码示例。如果您正苦于以下问题:PHP Frontend::getChild方法的具体用法?PHP Frontend::getChild怎么用?PHP Frontend::getChild使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Frontend
的用法示例。
在下文中一共展示了Frontend::getChild方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: array
$seo = $model->getDetailSeo(8);
break;
case "detail":
$detail = $imageHouseArr = array();
$product_alias = $tmp_uri[2];
$tmp = explode("-", $product_alias);
$id = (int) end($tmp);
$seo = $detail = $model->getDetail("objects", $id);
$object_type = $detail['object_type'];
$type_id = $detail['type_id'];
$detailType = $model->getDetail('type_bds', $type_id);
if ($object_type == 1) {
$convenientArr = $model->getList('convenient', -1, -1);
$arrAddonSelected = $model->getListRoomInfo($id, 1);
$arrConvenientSelected = $model->getListRoomInfo($id, 2);
$imageArr = $model->getChild("images", "object_id", $id, 2);
$houseDetail = $model->getDetail("house", $detail['house_id']);
$imageHouseArr = $model->getChild("images", "object_id", $detail['house_id'], 1);
$detailMod = $model->getDetail('users', $houseDetail['user_id']);
$houseServiceArr = $model->getHouseServices($detail['house_id']);
} else {
$type_images = $object_type == 3 ? 4 : 1;
$imageHouseArr = $model->getChild("images", "object_id", $id, $type_images);
$detailMod = $model->getDetail('users', $detail['user_id']);
$houseServiceArr = $model->getHouseServices($detail['id']);
}
/*
$data = $seo = $arrDetailProduct['data'];
$parent_id = $data['parent_cate'];
$cate_type_id = $data['cate_type_id'];
$_SESSION['view'][$product_id] = $data;