/** * Proxy to get the model. * * @access public * @param bool $item If true, return the item model * * @return JModel Return the model. * * @since 1.6 */ public function getModel($item = false) { if ($item) { return CkJModel::getInstance($this->view_item, 'RtiprintModel'); } return parent::getModel(); }
public function getModel($name = 'ExcursionRatePrices', $prefix = 'JHotelReservationModel', $config = array('ignore_request' => true)) { $model = parent::getModel($name, $prefix, $config); return $model; }