function __construct($template_string = '%s', $start = null) { if ($start) { $this->next = $start; } else { self::$incr++; $this->next = self::$incr; } $this->template_string = $template_string; }