Пример #1
0
 /**
  * Proxy for getModel.
  * @since	2.5
  */
 public function getModel($name = 'TSJs', $prefix = 'TSJModel', $config = array('ignore_request' => true))
 {
     //JFactory::getApplication()->enqueueMessage('Debug: TSJControllerTSJs::getModel');
     $model = parent::getModel($name, $prefix, $config);
     //JFactory::getApplication()->enqueueMessage('Debug: TSJControllerTSJs::getModel model='.$model);
     return $model;
 }
Пример #2
0
	/**
	 * Proxy for getModel.
	 */
	public function getModel($name = 'Cssmanager', $prefix = 'JEMModel', $config = array())
	{
		$model = parent::getModel($name, $prefix, array(
				'ignore_request' => true
		));
		return $model;
	}
Пример #3
0
 public function getModel($name = '', $prefix = '', $config = array('ignore_request' => true))
 {
     $option = JRequest::getVar('option');
     $clearName = substr($option, 4);
     $prefix = ucfirst($clearName) . 'Model';
     $name = str_replace('s', '', str_replace(ucfirst($clearName) . 'Controller', '', get_class()));
     return parent::getModel($name, $prefix, $config);
 }
Пример #4
0
 public function getModel($name = 'Profiles', $prefix = 'GAnalyticsModel')
 {
     if (JRequest::getVar('task', '') == 'delete' || JRequest::getVar('task', '') == 'profiles.delete') {
         $name = 'Profile';
     }
     $model = parent::getModel($name, $prefix, array('ignore_request' => true));
     return $model;
 }
Пример #5
0
 /**
  * Proxy for getModel.
  * @since	1.6
  */
 public function getModel($name = 'Registration', $prefix = 'OSBITModel', $config = array())
 {
     if (!isset($config)) {
         $config = array();
     }
     $config['ignore_request'] = false;
     $model = parent::getModel($name, $prefix, $config);
     return $model;
 }
Пример #6
0
 /**
  * Proxy for getModel.
  *
  * @param   string  $name    Model name
  * @param   string  $prefix  Prefix
  * @param   array   $config  configuration array
  *
  * @return  the model
  */
 public function getModel($name = null, $prefix = 'BabioonAdModel', $config = array('ignore_request' => true))
 {
     if (is_null($name)) {
         $name = BabioonAdHelper::toSingular($this->view_list);
     }
     // Note: Name in singular
     $model = parent::getModel($name, $prefix, $config);
     return $model;
 }
Пример #7
0
 /**
  * Method to get a model object, loading it if required.
  *
  * @param   string  $name    The model name. Optional.
  * @param   string  $prefix  The class prefix. Optional.
  * @param   array   $config  Configuration array for model. Optional.
  *
  * @return  object  The model.
  *
  * @since   12.2
  */
 public function getModel($name = "", $prefix = "JDeveloperModel", $config = array())
 {
     if (empty($name)) {
         $name = $this->model_item;
     }
     $config['ignore_request'] = true;
     $model = parent::getModel($name, $prefix, $config);
     return $model;
 }
Пример #8
0
 /**
  * Proxy for getModel.
  *
  * @param     string    $name      The name of the model.
  * @param     string    $prefix    The prefix for the class name.
  * @param     array     $config    Configuration array for model. Optional.
  *
  * @return    object
  */
 public function getModel($name = '', $prefix = 'PFdatagenModel', $config = array('ignore_request' => true))
 {
     // Override model name
     $name = $this->model;
     if (empty($name)) {
         $model = false;
     } else {
         $model = parent::getModel($name, $prefix, $config);
     }
     return $model;
 }
 public function getModel($name = null, $prefix = null)
 {
     if ($prefix === null) {
         $prefix = "JoomlahaxeModel";
     }
     if ($name === null) {
         $name = "Joomlahaxes";
     }
     $model = parent::getModel($name, $prefix, array('ignore_request' => true));
     return $model;
 }
Пример #10
0
 /**
  * Method to get a model object, loading it if required.
  *
  * @param   string  $name    The model name. Optional.
  * @param   string  $prefix  The class prefix. Optional.
  * @param   array   $config  Configuration array for model. Optional.
  *
  * @return  object  The model.
  */
 public function getModel($name = '', $prefix = '', $config = array('ignore_request' => true))
 {
     $class = get_class($this);
     if (empty($name)) {
         $name = strstr($class, 'Controller');
         $name = str_replace('Controller', '', $name);
         $name = RInflector::singularize($name);
     }
     if (empty($prefix)) {
         $prefix = strstr($class, 'Controller', true) . 'Model';
     }
     return parent::getModel($name, $prefix, $config);
 }
Пример #11
0
 public function getModel($name = 'Tag', $prefix = 'JUDownloadModel', $config = array('ignore_request' => true))
 {
     $model = parent::getModel($name, $prefix, $config);
     return $model;
 }
Пример #12
0
 /**
  * Proxy for getModel.
  * @since	1.6
  */
 public function getModel($name = 'item', $prefix = 'JvpricetableModel', $config = array())
 {
     $model = parent::getModel($name, $prefix, array('ignore_request' => true));
     return $model;
 }
 /**
  * Proxy for getModel.
  *
  * @param	string	$name	The name of the model.
  * @param	string	$prefix	The prefix for the PHP class name.
  *
  * @return	JModel
  * @since	3.1
  */
 public function getModel($name = 'Repository', $prefix = 'MarketplaceModel', $config = array('ignore_request' => true))
 {
     $model = parent::getModel($name, $prefix, $config);
     return $model;
 }
Пример #14
0
 /**
  * Method to get a model object, loading it if required.
  *
  * @param   string  $name    The model name. Optional.
  * @param   string  $prefix  The class prefix. Optional.
  * @param   array   $config  Configuration array for model. Optional.
  *
  * @return  object  The model.
  *
  * @since   1.6
  */
 public function getModel($name = 'Message', $prefix = 'MessagesModel', $config = array('ignore_request' => true))
 {
     $model = parent::getModel($name, $prefix, $config);
     return $model;
 }
Пример #15
0
 /**
  * Proxy for getModel
  *
  * @param	string	$name	The model name. Optional.
  * @param	string	$prefix	The class prefix. Optional.
  *
  * @return	object	The model.
  * @since	1.6
  */
 function getModel($name = 'Category', $prefix = 'CategoriesModel', $config = array('ignore_request' => true))
 {
     $model = parent::getModel($name, $prefix, $config);
     return $model;
 }
Пример #16
0
 public function getModel($name = 'blocklist', $prefix = 'bfstopmodel')
 {
     $model = parent::getModel($name, $prefix, array('ignore_request' => true));
     return $model;
 }
Пример #17
0
 /**
  * Proxy for getModel.
  *
  * @param	string	$name   	The name of the model.
  * @param	string	$prefix 	The prefix for the PHP class name.
  * @param	array	$config		An optional associative array of configuration settings.
  *
  * @return	JModel
  * @since	1.0.1
  */
 public function getModel($name = 'Newsletter', $prefix = 'BwPostmanModel', $config = array('ignore_request' => true))
 {
     $model = parent::getModel($name, $prefix, $config);
     return $model;
 }
Пример #18
0
 /**
  * Get the model
  */
 public function getModel($name = 'Room', $prefix = 'CHPanelModel', $config = array('ignore_request' => true))
 {
     return parent::getModel($name, $prefix, $config);
 }
Пример #19
0
 /**
  * Proxy for getModel
  *
  * @param   string  $name    The model name. Optional.
  * @param   string  $prefix  The class prefix. Optional.
  * @param   array   $config  The array of possible config values. Optional.
  *
  * @return  object  The model.
  *
  * @since   1.6
  */
 public function getModel($name = 'H_cfg_fitnessitem', $prefix = 'HtraininglogsModel', $config = array('ignore_request' => true))
 {
     return parent::getModel($name, $prefix, $config);
 }
Пример #20
0
 /**
  * Method to get a model object, loading it if required.
  *
  * @param   string  $name    The model name. Optional.
  * @param   string  $prefix  The class prefix. Optional.
  * @param   array   $config  Configuration array for model. Optional.
  *
  * @return  object  The model.
  * 
  * 
  */
 public function getModel($name = 'Teamid', $prefix = 'Knvbapi2Model', $config = array('ignore_request' => true))
 {
     $model = parent::getModel($name, $prefix, $config);
     return $model;
 }
 /**
  * Proxy for getModel.
  * @since	1.6
  */
 public function getModel($name = 'alarmierungsart', $prefix = 'EinsatzkomponenteModel')
 {
     $model = parent::getModel($name, $prefix, array('ignore_request' => true));
     return $model;
 }
 /**
  * Proxy for getModel.
  *
  * @param   string  $name    The name of the model.
  * @param   string  $prefix  The prefix for the PHP class name.
  * @param   array   $config  Ingnore info
  *
  * @return    JModel
  *
  * @since    1.7.0
  */
 public function getModel($name, $prefix, $config = [])
 {
     return parent::getModel($name, $prefix, $config = ['ignore_request' => true]);
 }
Пример #23
0
 /**
  * Proxy for getModel.
  *
  * @since	1.0
  */
 public function getModel($name = 'Conflict', $prefix = 'NewsletterModel', $config = array('ignore_request' => true))
 {
     return parent::getModel($name, $prefix, $config);
 }
Пример #24
0
 public function &getModel($name = 'PhocaGalleryCoImg', $prefix = 'PhocaGalleryCpModel', $config = array())
 {
     $model = parent::getModel($name, $prefix, array('ignore_request' => true));
     return $model;
 }
Пример #25
0
 public function getModel($name = 'LinksList', $prefix = 'YoutubeGalleryModel', $config = array())
 {
     $model = parent::getModel($name, $prefix, array('ignore_request' => true));
     return $model;
 }
 /**
  * Proxy for getModel.
  * @since	2.5
  */
 public function getModel($name = 'Help_document', $prefix = 'CostbenefitprojectionModel', $config = array())
 {
     $model = parent::getModel($name, $prefix, array('ignore_request' => true));
     return $model;
 }
Пример #27
0
 /**
  * Proxy for getModel.
  *
  * @return  void
  * @since	1.0
  */
 public function getModel($name = 'Mailboxprofile', $prefix = 'NewsletterModel', $config = array('ignore_request' => true))
 {
     $model = parent::getModel($name, $prefix, $config);
     return $model;
 }
Пример #28
0
 /**
  * Proxy for getModel.
  * @since	1.6
  */
 public function getModel($name = 'outputfilter', $prefix = 'JhackguardModel')
 {
     $model = parent::getModel($name, $prefix, array('ignore_request' => true));
     return $model;
 }
Пример #29
0
 /**
  * Proxy for getModel.
  * @since	1.6
  */
 public function getModel($name = 'Category', $prefix = 'Bt_portfolioModel')
 {
     $model = parent::getModel($name, $prefix, array('ignore_request' => true));
     return $model;
 }
Пример #30
0
 /**
  * Proxy for getModel.
  *
  * @param	string	$name	The name of the model.
  * @param	string	$prefix	The prefix for the PHP class name.
  *
  * @return	JModelLegacy
  * @since	1.6
  */
 public function getModel($name = 'Currency', $prefix = 'K2StoreModel', $config = array('ignore_request' => true))
 {
     $model = parent::getModel($name, $prefix, $config);
     return $model;
 }