Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 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;
 }