示例#1
0
 public function getModel($name = 'Tools', $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   SocialCommunityModelAvatar    The model.
  * @since    1.5
  */
 public function getModel($name = 'Avatar', $prefix = 'SocialCommunityModel', $config = array('ignore_request' => false))
 {
     $model = parent::getModel($name, $prefix, $config);
     return $model;
 }