public function addCc($email, $name = NULL) { if ($this->debugMode) { $this->prijemci[] = $email; return $this; } else { return parent::addCc($email, $name); } }