当前位置: 首页>>代码示例>>PHP>>正文


PHP JControllerForm::getModel方法代码示例

本文整理汇总了PHP中JControllerForm::getModel方法的典型用法代码示例。如果您正苦于以下问题:PHP JControllerForm::getModel方法的具体用法?PHP JControllerForm::getModel怎么用?PHP JControllerForm::getModel使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在JControllerForm的用法示例。


在下文中一共展示了JControllerForm::getModel方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: getModel

 public function getModel($name = '', $prefix = '', $config = array('ignore_request' => true))
 {
     if (!isset($this->model)) {
         $this->model = parent::getModel($name, $prefix, array('ignore_request' => false));
     }
     return $this->model;
 }
开发者ID:SheffieldWalkingGroup,项目名称:swgwebsite,代码行数:7,代码来源:schedulewalk.php

示例2: getModel

 /**
  * 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   11.1
  */
 public function getModel($name = '', $prefix = '', $config = array('ignore_request' => true))
 {
     if (empty($name)) {
         $name = $this->context;
     }
     return parent::getModel($name, $prefix, array('ignore_request' => false));
 }
开发者ID:rsam,项目名称:com_tsj,代码行数:18,代码来源:electros.php

示例3: getModel

 /**
  * 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);
     }
     if (empty($prefix)) {
         $prefix = strstr($class, 'Controller', true) . 'Model';
     }
     return parent::getModel($name, $prefix, $config);
 }
开发者ID:grlf,项目名称:eyedock,代码行数:21,代码来源:form.php

示例4: array

 public function &getModel($name = 'System', $prefix = 'SolidresModel')
 {
     $model = parent::getModel($name, $prefix, array('ignore_request' => true));
     return $model;
 }
开发者ID:prox91,项目名称:joomla-dev,代码行数:5,代码来源:system.php

示例5: getModel

 /**
  * Proxy for getModel.
  * @since	1.6
  */
 public function getModel($name = 'fieldsattachimage', $prefix = 'fieldsattachModel')
 {
     $model = parent::getModel($name, $prefix, array('ignore_request' => true));
     return $model;
 }
开发者ID:adjaika,项目名称:J3Base,代码行数:9,代码来源:fieldsattachimage.php

示例6: getModel

 /**
  * 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 = null, $prefix = null, $config = array('ignore_request' => true))
 {
     $name = $name ? $name : ucfirst($this->view_item);
     $prefix = $prefix ? $prefix : ucfirst($this->component) . 'Model';
     return parent::getModel($name, $prefix, $config);
 }
开发者ID:beingsane,项目名称:quickcontent,代码行数:15,代码来源:controllerform.php

示例7: getModel

 /**
  * Proxy for getModel.
  *
  * @param   string	$name	The name of the model.
  * @param   string	$prefix	The prefix for the PHP class name.
  *
  * @return  JModel
  * @since   1.6
  */
 public function getModel($name = 'Meeting', $prefix = 'BigbluebuttonModel', $config = array('ignore_request' => false))
 {
     $model = parent::getModel($name, $prefix, $config);
     return $model;
 }
开发者ID:bellodox,项目名称:BigBlueButton_for_Joomla,代码行数:14,代码来源:meeting.php

示例8: getModel

 /**
  * 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 = 'Package', $prefix = 'LocaliseModel', $config = array('ignore_request' => false))
 {
     return parent::getModel($name, $prefix, $config);
 }
开发者ID:svenbluege,项目名称:com_localise,代码行数:13,代码来源:package.php

示例9: getModel

 public function getModel($name = 'Categories', $prefix = 'YoutubeGalleryModel')
 {
     $model = parent::getModel($name, $prefix, array('ignore_request' => true));
     return $model;
 }
开发者ID:brenot,项目名称:forumdesenvolvimento,代码行数:5,代码来源:categories.php

示例10: getModel

	/**
	 * Proxy for getModel.
	 *
	 * @param   string	$name	The name of the model.
	 * @param   string	$prefix	The prefix for the PHP class name.
	 *
	 * @return  JModel
	 * @since   1.6
	 */
	public function getModel($name = 'Extension', $prefix = 'MvceditorModel', $config = array('ignore_request' => false))
	{
		$model = parent::getModel($name, $prefix, $config);
	
		return $model;
	}	
开发者ID:utopszkij,项目名称:lmp,代码行数:15,代码来源:extension.php

示例11: getModel

 /**
  * 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 = 'Profile', $prefix = 'SocialCommunityModel', $config = array('ignore_request' => true))
 {
     $model = parent::getModel($name, $prefix, $config);
     return $model;
 }
开发者ID:pashakiz,项目名称:crowdf,代码行数:15,代码来源:profile.php

示例12: getModel

 public function getModel($name = 'Form', $prefix = 'JUDirectoryModel', $config = array('ignore_request' => true))
 {
     $model = parent::getModel($name, $prefix, $config);
     return $model;
 }
开发者ID:ranrolls,项目名称:ras-full-portal,代码行数:5,代码来源:form.php

示例13: getModel

 public function getModel($name = 'Customer', $prefix = 'BookproModel', $config = array('ignore_request' => true))
 {
     return parent::getModel($name, $prefix, $config);
 }
开发者ID:hixbotay,项目名称:executivetransport,代码行数:4,代码来源:agent.php

示例14: getModel

 /**
  * 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   2.0
  */
 public function getModel($name = 'Settings', $prefix = 'ShconfigModel', $config = array('ignore_request' => true))
 {
     return parent::getModel($name, $prefix, $config);
 }
开发者ID:philbertphotos,项目名称:JMapMyLDAP,代码行数:15,代码来源:settings.php

示例15: getModel

	/**
	 * Proxy for getModel.
	 *
	 * @param   string	$name	The name of the model.
	 * @param   string	$prefix	The prefix for the PHP class name.
	 *
	 * @return  JModel
	 * @since   1.6
	 */
	public function getModel($name = 'Felhasznalok', $prefix = 'TagnyilvantartasModel', $config = array('ignore_request' => false))
	{
		$model = parent::getModel($name, $prefix, $config);
	
		return $model;
	}
开发者ID:utopszkij,项目名称:lmp,代码行数:15,代码来源:felhasznalok.php


注:本文中的JControllerForm::getModel方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。