public function __construct($id = null) { parent::__construct($id); if ($id < 1) { throw new Exception("Email template identified as {$id} does not exist."); } }
public function __construct($id, $mode = self::MODE_ADMIN) { $this->_mode = $mode; parent::__construct($id); }