public function __construct($tpl, $title, $fnName = null) { $this->title = $title; $this->fnName = $fnName; if (empty($this->fnName)) { $this->fnName = 'dg_' . str_replace('.', '', microtime(true)); } parent::__construct($tpl); }
public function __construct($tpl, $target = '_top') { parent::__construct($tpl); $this->target = $target; }