protected function _getFields() { $fields = parent::_getFields(); $fields['sonnb_xengallery_photo'] = array('content_id' => array('type' => self::TYPE_UINT, 'default' => array('sonnb_xengallery_content', 'content_id')), 'photo_exif' => array('type' => self::TYPE_SERIALIZED, 'default' => 'a:0:{}')); return $fields; }
protected function _getFields() { $fields = parent::_getFields(); $fields['sonnb_xengallery_video'] = array('content_id' => array('type' => self::TYPE_UINT, 'default' => array('sonnb_xengallery_content', 'content_id')), 'video_type' => array('type' => self::TYPE_STRING, 'default' => ''), 'video_key' => array('type' => self::TYPE_STRING, 'maxLength' => 100, 'default' => '')); return $fields; }