public function __construct($title, CSRFSynchronizerToken $csrf, Git_Mirror_Mirror $mirror)
 {
     parent::__construct($title, $csrf);
     $this->id = $mirror->id;
     $this->url = $mirror->url;
     $this->hostname = $mirror->hostname;
     $this->name = $mirror->name;
     $this->owner = $mirror->owner;
     $this->owner_name = $mirror->owner_name;
     $this->owner_id = $mirror->owner_id;
 }
 public function __construct($title, CSRFSynchronizerToken $csrf, array $list_of_mirrors)
 {
     parent::__construct($title, $csrf);
     $this->list_of_mirrors = $list_of_mirrors;
     $this->btn_submit = $GLOBALS['Language']->getText('global', 'btn_submit');
 }