__construct() public method

public __construct ( Adaptee $adaptee )
$adaptee Adaptee
Beispiel #1
0
 public function __construct($db = null)
 {
     parent::__construct($db);
     $this->_currentPage = 1;
     $this->_itemsByPage = 30;
     $this->_totalItems = 0;
     $this->_totalPages = 0;
     $this->_query = '';
     $this->_queryCount = '';
 }
Beispiel #2
0
 /**
  * Constructor
  *
  * @return Sqlite
  * @author Justin Palmer
  **/
 public function __construct($model)
 {
     parent::__construct($model);
 }
 public function __construct()
 {
     //parent::__construct($this);
     parent::__construct($this);
 }
Beispiel #4
0
 /**
  * Constructor
  *
  * @return Mysql
  * @author Justin Palmer
  **/
 public function __construct($model)
 {
     self::getConfig();
     parent::__construct($model, array(PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES " . self::$Config->encoding));
 }
Beispiel #5
0
 /**
  * Defined by Zend_ProgressBar_Adapter
  *
  * @param null|array|\Zend\Config\Config $options
  */
 public function __construct($options = null)
 {
     // Call parent constructor with options
     parent::__construct($options);
     // Check if a width was set, else use auto width
     if ($this->_width === null) {
         $this->setWidth();
     }
 }
Beispiel #6
0
 /**
  * Конструктор
  *
  * @param array $data
  */
 public function __construct($options = NULL, $place = NULL)
 {
     $this->object(new Core_ArrayObject());
     parent::__construct($options, $place);
 }
 public function __construct()
 {
     parent::__construct($this);
     $this->_cachePlaylists();
 }
Beispiel #8
0
 public function __construct($credentials, $isDev)
 {
     parent::__construct($credentials, $isDev);
 }