public function getModel($name = 'Rank', $prefix = 'GamificationModel', $config = array('ignore_request' => true))
 {
     $model = parent::getModel($name, $prefix, $config);
     // Load the component parameters.
     $params = JComponentHelper::getParams($this->option);
     // Extension parameters
     $model->imagesFolder = JPath::clean(JPATH_SITE . DIRECTORY_SEPARATOR . $params->get('images_directory', 'images/gamification'));
     return $model;
 }
 /**
  * @param string $name
  * @param string $prefix
  * @param array  $config
  *
  * @return GamificationModelReward
  */
 public function getModel($name = 'Reward', $prefix = 'GamificationModel', $config = array('ignore_request' => true))
 {
     $model = parent::getModel($name, $prefix, $config);
     return $model;
 }