public function relations()
 {
     return array_merge(parent::relations(), array('image' => array(self::HAS_ONE, 'AttachmentForm', 'object_id', 'condition' => 'image.object_type=:object_type', 'params' => array('object_type' => Attachment::OBJECT_TYPE_CERTIFICATE))));
 }