__construct() 공개 메소드

Constructor
public __construct ( array $options = [] )
$options array Optional load object properties.
예제 #1
0
파일: schema.php 프로젝트: ayaou/Zuha
 public function __construct($options = array())
 {
     parent::__construct();
     $this->renames = array('contact_details' => array('contact_detail_type_id' => 'contact_detail_type'));
 }
예제 #2
0
 public function __construct($options = array())
 {
     parent::__construct();
 }
예제 #3
0
파일: schema.php 프로젝트: styfle/core
 /**
  * Adds the DECIMAL column type as a recognized datatype
  *
  * @return void
  */
 function __construct()
 {
     $db =& ConnectionManager::getDataSource('default');
     $db->columns['decimal'] = array('name' => 'decimal', 'formatter' => 'floatval');
     return parent::__construct();
 }