__construct() public method

# GBDateTime
public __construct ( $name = null, $id = null )
Example #1
0
 function __construct($name = null, $id = null, $cachenamePrefix = null, $comments = null)
 {
     parent::__construct($name, $id);
     $this->cachenamePrefix = $cachenamePrefix;
     if ($comments !== null) {
         $this->comments = $comments;
     }
 }