/** * 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.5 */ public function getModel($name = 'Proof', $prefix = 'IdentityProofModel', $config = array('ignore_request' => true)) { $model = parent::getModel($name, $prefix, $config); return $model; }
/** * 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.5 */ public function getModel($name = 'Project', $prefix = 'CrowdFundingModel', $config = array('ignore_request' => true)) { $model = parent::getModel($name, $prefix, $config); return $model; }
/** * 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.5 */ public function getModel($name = 'Form', $prefix = 'UserIdeasModel', $config = array('ignore_request' => true)) { $model = parent::getModel($name, $prefix, $config); return $model; }
/** * 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.5 */ public function getModel($name = 'Funding', $prefix = 'CrowdFundingModel', $config = array('ignore_request' => true)) { JLoader::register("CrowdFundingModelProject", JPATH_COMPONENT . DIRECTORY_SEPARATOR . "models" . DIRECTORY_SEPARATOR . "project.php"); $model = parent::getModel($name, $prefix, $config); return $model; }
/** * 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.5 */ public function getModel($name = 'Ordering', $prefix = 'VirtualCurrencyModel', $config = array('ignore_request' => true)) { $model = parent::getModel($name, $prefix, $config); return $model; }