function __construct($group_id, $url, $feedback)
 {
     parent::__construct();
     $this->_group_id = $group_id;
     $this->_url = $url;
     $this->_listeners = array();
     $this->_feedback = $feedback;
     $this->_item_factory = $this->_getItemFactory();
     $this->_messages = array();
     if (($g = $this->_groupGetObject($group_id)) && !$g->isError()) {
         $this->_group_name = $g->getPublicName();
     }
 }
 function __construct(Project $project, $url, $feedback, MailBuilder $mail_builder)
 {
     parent::__construct();
     $this->project = $project;
     $this->_url = $url;
     $this->_listeners = array();
     $this->_feedback = $feedback;
     $this->_item_factory = $this->_getItemFactory();
     $this->notifications = array();
     $this->mail_builder = $mail_builder;
     if ($project && !$project->isError()) {
         $this->_group_name = $project->getPublicName();
     }
 }