Exemple #1
0
 /**
  * Constructor
  *
  * @param \Zend\Config\Config $config VuFind configuration
  */
 public function __construct(\Zend\Config\Config $config)
 {
     // Use a special row class when we're in privacy mode:
     $privacy = isset($config->Authentication->privacy) && $config->Authentication->privacy;
     $rowClass = 'VuFind\\Db\\Row\\' . ($privacy ? 'PrivateUser' : 'User');
     parent::__construct('user', $rowClass);
     $this->config = $config;
 }
 public function __construct($client = NULL)
 {
     parent::__construct($client);
     self::$shipping_by_product = Gateway::getConfig('SHIPPING_BY_PRODUCT');
     self::$shipping_by_product_fieldname = Gateway::getConfig('SHIPPING_BY_PRODUCT_FIELDNAME');
     if (Gateway::getConfig('CUSTOMIZABLE_FIELDS')) {
         $customizable_fields = explode('¤', Gateway::getConfig('CUSTOMIZABLE_FIELDS'));
         foreach ($customizable_fields as $customizable_field) {
             $customizable_value = explode('|', $customizable_field);
             self::$customizable_field[$customizable_value[0]] = $customizable_value[1];
         }
     }
 }
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct('change_tracker', 'VuFind\\Db\\Row\\ChangeTracker');
 }
Exemple #4
0
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct('user', 'VuFind\\Db\\Row\\User');
 }
Exemple #5
0
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct('oai_resumption', 'VuFind\\Db\\Row\\OaiResumption');
 }
Exemple #6
0
 /**
  * Constructor
  *
  * @param \Zend\Config\Config $config VuFind configuration
  */
 public function __construct(\Zend\Config\Config $config)
 {
     parent::__construct('user', 'VuFind\\Db\\Row\\User');
     $this->config = $config;
 }
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct('user_stats_fields');
 }
Exemple #8
0
 /**
  * Constructor
  */
 public function __construct()
 {
     parent::__construct('comments', 'VuFind\\Db\\Row\\Comments');
 }
 public function __construct()
 {
     parent::__construct();
 }