Repository navigation
Technical Reference Objects 02
Audience: developers and AI-assisted code lookup. Review date: 2026-10-29. Static inventory, not an endpoint specification, functional audit or integration-test result. Source files were read without executing application handlers. Nonempty string defaults are omitted.
Declared classes/interfaces/traits: ObjectCacheMaintenance.
| Named function/method | Source line |
|---|---|
openState($root) |
15 |
readState($handle) |
36 |
saveState($handle, $state) |
43 |
requestCleanup($root, $interval) |
54 |
isOwnedPath($root, $file) |
72 |
write($root, $file, $content, $maxBytes, $maxFiles = self::DEFAULT_MAX_FILES) |
93 |
deleteExpired($root, $file, $cutoff) |
151 |
cleanup($root, $maxAge) |
165 |
Declared classes/interfaces/traits: PHPRuntimeSecurity.
| Named function/method | Source line |
|---|---|
detect() |
26 |
evaluate($version, $versionId, $sapi) |
41 |
acceptsDistributionEvidence(array $result) |
93 |
evaluateDistributionEvidence(array $result, $processMaps, $changelog) |
104 |
readProcessMaps($file = '<string>') |
137 |
readDistributionChangelog($branch, $directory = '<string>') |
147 |
isHTMLResponse(array $headers, $scriptName = '') |
157 |
renderAdminNotice(array $result, $showPassing = false) |
172 |
Declared classes/interfaces/traits: Page.
| Named function/method | Source line |
|---|---|
__construct($title, $bodyClass = '', $loadBasicCSSAndJS = false) |
20 |
loadBasicCSSAndJS() |
30 |
setTitle(string $title) |
49 |
setBodyClass(string $bodyClass) |
54 |
setExtraScripts(array $extraScripts) |
59 |
setExtraStyles(array $extraStyles) |
64 |
setInlineStyles(string $inlineStyles) |
69 |
setInlineScripts(string $inlineScripts) |
74 |
setBodyContent(string $bodyContent) |
79 |
setIncludeNavbar(bool $includeNavbar) |
84 |
setIncludeFooter(bool $includeFooter) |
89 |
setIncludeInHead(array $includeInHead) |
94 |
setIncludeInBody(array $includeInBody) |
99 |
setIncludeInFooter(array $includeInFooter) |
104 |
setIncludeBGAnimation(bool $includeBGAnimation) |
109 |
getHead() |
114 |
getNavBar() |
154 |
getFooter() |
170 |
getContent() |
202 |
getPage() |
233 |
printEditorIndex($plugin, $classname) |
257 |
printEditorIndexFromFile($file) |
265 |
Declared classes/interfaces/traits: UserAccountMutationLock.
| Named function/method | Source line |
|---|---|
__construct($name) |
11 |
acquire($users_id) |
16 |
getIsAdmin() |
65 |
__destruct() |
70 |
| Named function/method | Source line |
|---|---|
dieJsonResponse($obj, $context = '') |
47 |
getEncoderAuthDebugSummary() |
92 |
getEncoderRequestDebugSummary() |
119 |
downloadVideoFromDownloadURL($downloadURL) |
480 |
__errlog($txt) |
585 |
getIncomingMediaStateForLog() |
592 |
isMetadataOnlyEncoderRequest() |
608 |
deduplicateByEncoderQueueId(Video &$video, stdClass &$obj) |
633 |
logIncomingMediaState($message, $type = 0) |
692 |
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
| Named function/method | Source line |
|---|---|
_parseIniSize(string $val): int |
74 |
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
| Named function/method | Source line |
|---|---|
receiveImageDebugLog($message) |
12 |
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
Declared classes/interfaces/traits: BootGrid.
| Named function/method | Source line |
|---|---|
populateSortFromDataTablesOrder() |
7 |
getSqlFromPost($searchFieldsNames = [], $keyPrefix = "'<string>''<string>'", $allowedSortColumns = []) |
18 |
getSearchPhraseFromPost() |
78 |
escapeSearchPhraseForSQL($search) |
96 |
getSearchFieldAsUtf8($field) |
102 |
getBinarySearchFieldAsUtf8($field) |
107 |
getSearchNeedle($search) |
112 |
getCollationSafeLike($field, $search) |
117 |
getCollationSafeRegexp($field, $search) |
124 |
getSqlSearchFromPost($searchFieldsNames = [], $connection = '<string>', $search = null) |
130 |
Declared classes/interfaces/traits: Captcha.
| Named function/method | Source line |
|---|---|
__construct($largura, $altura, $tamanho_fonte, $quantidade_letras) |
13 |
getCaptchaImage() |
22 |
validation($word) |
71 |
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
Declared classes/interfaces/traits: Category.
| Named function/method | Source line |
|---|---|
getSuggested() |
30 |
setSuggested($suggested) |
35 |
getOrder() |
40 |
setOrder($order) |
45 |
getUsers_id() |
50 |
getPrivate() |
58 |
setUsers_id($users_id) |
63 |
setPrivate($private) |
73 |
setName($name) |
78 |
setClean_name($clean_name) |
84 |
setNextVideoOrder($nextVideoOrder) |
90 |
setParentId($parentId) |
95 |
getParentId() |
100 |
setDescription($description) |
105 |
__construct($id, $name = '') |
110 |
load($id, $refreshCache = false) |
122 |
loadSelfCategory() |
135 |
save($allowOfflineUser = false) |
140 |
fixCleanTitle($clean_title, $count, $id, $original_title = "") |
230 |
deleteAssets($categories_id) |
255 |
getCategory($id) |
281 |
getCategoryLink($id) |
295 |
getCategoryLinkFromName($clean_name) |
301 |
getLink() |
307 |
getCategoryByName($name) |
312 |
getOrCreateCategoryByName($name) |
327 |
getCategoryDefault() |
345 |
getSiteCategoryDefaultID() |
358 |
deleteCategoryCache() |
373 |
getCountCacheSuffix($suffix, $getAllVideos = false) |
379 |
getListCacheVersion() |
394 |
clearCountCacheChain($categories_id) |
406 |
getAllCategories($filterCanAddVideoOnly = false, $onlyWithVideos = false, $onlySuggested = false, $sameUserGroupAsMe = false, $hideNegativeOrder = false, $showRestrictedCategories = null, $ignorePagination = false) |
419 |
getHierarchyArray($categories_id, $hierarchyArray = []) |
594 |
getHierarchyString($categories_id) |
612 |
userCanAddInCategory($categories_id, $users_id = 0) |
630 |
userCanEditCategory($categories_id, $users_id = 0) |
651 |
canCreateCategory() |
674 |
getChildCategories($parentId, $filterCanAddVideoOnly = false, $showRestrictedCategories = null, $ignoreRequestFilters = false) |
686 |
hasSubcategory($parentId) |
743 |
getChildCategoriesFromTitle($clean_title) |
757 |
getTotalFromCategory($categories_id, $showUnlisted = false, $getAllVideos = false, $renew = false) |
763 |
getTotalFromChildCategory($categories_id, $showUnlisted = false, $getAllVideos = false, $renew = false) |
794 |
getLatestVideoFromCategory($categories_id, $showUnlisted = false, $getAllVideos = false) |
811 |
getLatestLiveFromCategory($categories_id) |
845 |
getLatestLiveLinksFromCategory($categories_id) |
862 |
getTotalVideosFromCategory($categories_id, $showUnlisted = false, $getAllVideos = false, $renew = false) |
878 |
getTotalLiveLinksFromCategory($categories_id, $showUnlisted = false, $renew = false) |
925 |
getTotalLivesFromCategory($categories_id, $showUnlisted = false, $renew = false) |
959 |
clearCacheCount($categories_id = 0) |
1007 |
delete() |
1014 |
getTotalCategories($filterCanAddVideoOnly = false, $onlyWithVideos = false, $onlySuggested = false, $sameUserGroupAsMe = false, $hideNegativeOrder = false, $showRestrictedCategories = null) |
1055 |
getIconClass() |
1061 |
setIconClass($iconClass) |
1069 |
getName() |
1074 |
getClean_name() |
1079 |
getDescription() |
1084 |
getAllow_download() |
1089 |
setAllow_download($allow_download) |
1094 |
getCategoryDirPath($categories_id = "") |
1099 |
isAssetsValids($categories_id) |
1116 |
getOGImagePaths($categories_id) |
1134 |
deleteOGImage($categories_id) |
1150 |
getOGImage($categories_id) |
1159 |
getCategoryPhotoPath($categories_id) |
1178 |
getCategoryBackgroundPath($categories_id) |
1184 |
getCategoryAssetPath($name, $categories_id) |
1190 |
setUsergroups($categories_id, $usergroups_ids_array) |
1215 |
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
| Named function/method | Source line |
|---|---|
getChannelAboutSafeIframeRegexp($webSiteRootURL) |
8 |
getChannelAboutSafeIframePattern($webSiteRootURL) |
14 |
purifyChannelAboutHTML($about, $webSiteRootURL, $cacheDir = null) |
34 |
| Named function/method | Source line |
|---|---|
saveChannelImageUpload($destination, $width, $height, $variations = [], $postIndex = '<string>', $onSaved = null) |
4 |
Declared classes/interfaces/traits: Comment.
| Named function/method | Source line |
|---|---|
__construct($comment, $videos_id, $id = 0) |
22 |
getPin() |
34 |
setPin($pin): void |
38 |
getId() |
42 |
setComments_id_pai($comments_id_pai) |
46 |
getComments_id_pai() |
52 |
getUsers_id() |
56 |
setComment($comment) |
60 |
getCommentText() |
64 |
getVideos_id() |
68 |
load($id, $refreshCache = false) |
72 |
save() |
84 |
delete() |
147 |
getComment($id, $refreshCache = false) |
161 |
getAllComments($videoId = 0, $comments_id_pai = '<string>', $video_owner_users_id = 0, $includeResponses = false) |
171 |
getTotalComments($videoId = 0, $comments_id_pai = '<string>', $video_owner_users_id = 0) |
266 |
getMyPostedComments($includeResponses = false) |
317 |
getTotalMyPostedComments() |
358 |
getCommentsOnMyVideos($includeResponses = false) |
372 |
getTotalCommentsOnMyVideos() |
413 |
getAllPostedComments($includeResponses = false) |
427 |
getTotalAllPostedComments() |
467 |
userCanAdminComment($comments_id) |
479 |
userCanEditComment($comments_id) |
497 |
getTotalCommentsThumbsUpFromUser($users_id, $startDate, $endDate) |
511 |
addExtraInfo($commentsArray) |
560 |
addExtraInfo2InRows($rows) |
567 |
addExtraInfo2($row) |
577 |
fixCommentText($subject) |
606 |
| Named function/method | Source line |
|---|---|
isCommentASpam($comment, $videos_id) |
40 |
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
No named function/method declarations were extracted. Inspect top-level code, includes and the caller.
Declared classes/interfaces/traits: CommentsLike.
| Named function/method | Source line |
|---|---|
__construct($like, $comments_id) |
18 |
setLike($like) |
35 |
load() |
44 |
getLike() |
56 |
save() |
70 |
getLikes($comments_id) |
91 |
getTotalLikes() |
121 |
getMyVote($comments_id) |
149 |
Declared classes/interfaces/traits: AVideoConf, Configuration.
| Named function/method | Source line |
|---|---|
__construct($video_resolution = "") |
56 |
load($id='', $refreshCache = false) |
64 |
save() |
70 |
getVideo_resolution() |
84 |
getUsers_id() |
89 |
getVersion() |
94 |
getWebSiteTitle() |
102 |
getDescription() |
107 |
getLanguage() |
112 |
getContactEmail() |
120 |
setVideo_resolution($video_resolution) |
125 |
setWebSiteTitle($webSiteTitle) |
130 |
setDescription($description) |
135 |
setLanguage($language) |
140 |
setContactEmail($contactEmail) |
145 |
currentVersionLowerThen($version) |
150 |
currentVersionGreaterThen($version) |
155 |
currentVersionEqual($version) |
160 |
getAuthCanUploadVideos() |
165 |
getAuthCanViewChart() |
170 |
getAuthCanComment() |
175 |
setAuthCanUploadVideos($authCanUploadVideos) |
180 |
setAuthCanViewChart($authCanViewChart) |
185 |
setAuthCanComment($authCanComment) |
190 |
getHead() |
195 |
getLogo($timestamp = false) |
200 |
_getFavicon($getPNG = false) |
214 |
getFavicon($getPNG = false) |
238 |
getOGImage() |
244 |
getOGImagePath() |
255 |
setHead($head) |
266 |
setLogo($logo) |
271 |
getLogo_small() |
276 |
setLogo_small($logo_small) |
284 |
getAdsense() |
289 |
setAdsense($adsense) |
294 |
getMode() |
299 |
setMode($mode) |
307 |
getDisable_analytics() |
313 |
getDisable_youtubeupload() |
318 |
getAllow_download() |
324 |
getSession_timeout() |
329 |
setDisable_analytics($disable_analytics) |
334 |
setDisable_youtubeupload($disable_youtubeupload) |
339 |
setAllow_download($allow_download) |
344 |
setSession_timeout($session_timeout) |
349 |
getAutoplay() |
354 |
setAutoplay($autoplay) |
359 |
updateConfigFile($additions, $replacements, $newVersion) |
364 |
getTheme() |
418 |
getThemes() |
426 |
getThemeLight() |
444 |
getThemeDark() |
450 |
getDefaultTheme() |
456 |
getAlternativeTheme() |
461 |
isDefaultThemeDark() |
466 |
setTheme($theme, $setDefault=false) |
472 |
setThemes($lightTheme, $darkTheme, $defaultTheme) |
489 |
getSmtp() |
494 |
getSmtpAuth() |
499 |
getSmtpSecure() |
504 |
getSmtpHost() |
509 |
getSmtpUsername() |
514 |
getSmtpPassword() |
519 |
setSmtp($smtp) |
524 |
setSmtpAuth($smtpAuth) |
529 |
setSmtpSecure($smtpSecure) |
534 |
setSmtpHost($smtpHost) |
539 |
setSmtpUsername($smtpUsername) |
544 |
setSmtpPassword( #[\SensitiveParameter] $smtpPassword ) |
549 |
getSmtpPort() |
557 |
setSmtpPort($smtpPort) |
562 |
_getEncoderURL() |
567 |
shouldUseEncodernetwork() |
575 |
deleteEncoderURLCache() |
604 |
getEncoderURL($addCredentials = false) |
614 |
setEncoderURL($encoderURL) |
656 |
getPageTitleSeparator() |
661 |
getTableName() |
669 |
Start
Install and update
- Install on Ubuntu 24.04 or 26.04
- Installation Setup Page
- Scheduler cron job (required)
- Set up email
- Use HTTPS
- Own Encoder
- Docker
- Update AVideo
- Backup
- Secure file permissions
- Server command-line tools
- Hidden configuration options
Videos
- Upload a video
- Local Encoder (on your computer)
- Bulk upload by FTP
- Import a channel
- Publish on YouTube and social media
- Privacy options
- Only for logged-in users
- Resolutions by user group
- Storage options
- Move and protect video files
- Video does not play
Users
Live
- Make a live stream
- Stream with OBS
- Own live server
- One live server, many sites
- Live server install errors
- Live does not play
Plugins
Problems
Other
- Translate your site
- Write a plugin (developers)
- Technical reference (developers and advanced administrators)
Old and retired guides