public function setShout($desc, $link = null)
 {
     $s = new Shoutbox();
     $s->setAuthor(sfContext::getInstance()->getUser()->getAttribute("id"));
     if (is_array($desc)) {
         $s->setSystem(1);
         $s->setDescription(json_encode($desc));
         $s->setLink($link);
     } else {
         $s->setSystem(0);
         $s->setDescription($desc);
     }
     $s->save();
     return $s;
 }