__construct() 공개 메소드

Constructor
public __construct ( $options = null )
예제 #1
0
 /**
  * Constructor
  */
 public function __construct($length = 10, $scale = 2, $options = null)
 {
     parent::__construct($options);
     $this->_length = intval($length);
     $this->_scale = intval($scale);
 }
예제 #2
0
파일: StringType.php 프로젝트: lox/pheasant
 /**
  * Constructor
  */
 public function __construct($length = 255, $options = null)
 {
     parent::__construct($options);
     $this->_length = intval($length);
 }
예제 #3
0
 /**
  * Constructor
  */
 public function __construct($width = null, $options = null)
 {
     parent::__construct($options);
     $this->width = intval($width);
 }