GBContent::__construct PHP 메소드

__construct() 공개 메소드

# GBDateTime
public __construct ( $name = null, $id = null )
    function __construct($name = null, $id = null)
    {
        $this->name = $name;
        $this->id = $id;
    }

Usage Example

예제 #1
0
파일: gitblog.php 프로젝트: rsms/gitblog
 function __construct($name = null, $id = null, $cachenamePrefix = null, $comments = null)
 {
     parent::__construct($name, $id);
     $this->cachenamePrefix = $cachenamePrefix;
     if ($comments !== null) {
         $this->comments = $comments;
     }
 }