public function setImage($image)
 {
     $this->__load();
     return parent::setImage($image);
 }
 private function setChronicleData(ChronicleForm $form, Chronicle $chronicle)
 {
     $globalContext = new \Sb\Context\Model\Context();
     $book = BookDao::getInstance()->get($form->getChronicleBookId());
     $chronicle->setBook($book);
     $group = GroupDao::getInstance()->get($form->getChronicleGroupId());
     $chronicle->setGroup($group);
     if ($form->getChronicleImage()) {
         $fullImageName = $this->getImageUrl($form->getChronicleGroupId()) . "/" . $form->getChronicleImage();
         $chronicle->setImage($fullImageName);
     }
     $chronicle->setIs_validated(true);
     $chronicle->setKeywords($form->getChronicleKeywords());
     $chronicle->setLink($form->getChronicleLink());
     $tag = TagDao::getInstance()->get($form->getChronicleTagId());
     $chronicle->setTag($tag);
     $chronicle->setText($form->getChronicleText());
     $chronicle->setTitle($form->getChronicleTitle());
     $chronicle->setType_id($form->getChronicleType());
     $chronicle->setUser($globalContext->getConnectedUser());
     $chronicle->setLink_type($form->getChronicleLinkType());
 }