Ejemplo n.º 1
0
 /**
  * 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();
 }
Ejemplo n.º 2
0
 public function getModel($name = 'ExcursionRatePrices', $prefix = 'JHotelReservationModel', $config = array('ignore_request' => true))
 {
     $model = parent::getModel($name, $prefix, $config);
     return $model;
 }