Skip to content

Numbered Description

Content Type

NumberDescriptionTable NameModel const constant definition
1UserusersTYPE_USER
2GroupgroupsTYPE_GROUP
3HashtaghashtagsTYPE_HASHTAG
4GeotaggeotagsTYPE_GEOTAG
5PostpostsTYPE_POST
6CommentcommentsTYPE_COMMENT
7Post Logpost_logsTYPE_POST_LOG
8Comment Logcomment_logsTYPE_COMMENT_LOG
9ConversationconversationsTYPE_CONVERSATION

File Type

NumberDescriptionData table name and columnModel const constant definition
1Imagefiles->typeTYPE_IMAGE
2Videofiles->typeTYPE_VIDEO
3Audiofiles->typeTYPE_AUDIO
4Documentfiles->typeTYPE_DOCUMENT

Type of File Usage

NumberDescriptionScenes
1Other / Unknown uses
2System ConfigurationPictures of the various configurations of the control panel
3Stickers
4User ProfileUser avatar, banner, decorate
5ConversationsFiles sent in conversation messages
6Posts
7Comments
8Extend Content
9AppsPlugin, Theme, App

Data table name and column

  • file_usages->usage_type

Path rules for file types

php
FileHelper::fresnsFileStoragePath($fileType, $usageType);

Released under the Apache-2.0 License