예제 #1
0
 public function __construct($config)
 {
     parent::__construct($config);
     $this->view_list = "statuses";
 }
예제 #2
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.5
  */
 public function getModel($name = 'Log', $prefix = 'CrowdFundingModel', $config = array('ignore_request' => true))
 {
     $model = parent::getModel($name, $prefix, $config);
     return $model;
 }
예제 #3
0
 /**
  * Proxy for getModel.
  * @since   1.6
  */
 public function getModel($name = 'Import', $prefix = 'VirtualCurrencyModel', $config = array('ignore_request' => false))
 {
     $model = parent::getModel($name, $prefix, $config);
     return $model;
 }