__construct() 공개 메소드

Pass these parameteres when creating a new instance of this Class, and they will be used as defaults. e.g $obj = new jDateTime(false, true, 'Asia/Tehran'); To use system defaults pass null for each one or just create the object without any parameters.
저자: Sallar Kaboli
public __construct ( $convert = null, $jalali = null, $timezone = null )
$convert bool Converts numbers to Farsi
$jalali bool Converts date to Jalali
$timezone string Timezone string
예제 #1
0
파일: Date.php 프로젝트: rezachess/Planning
 function __construct($convert = null, $jalali = null, $timezone = null)
 {
     // TODO: Implement __construct() method.
     parent::__construct($convert, $jalali, $timezone);
 }