Skip to content

Technical Reference Objects 05

Daniel Neto edited this page Oct 29, 2026 · 1 revision

Technical source reference: Objects (5)

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.

Source reference index.

objects/functionsMySQL.php

Source

Named function/method Source line
mysqlBeginTransaction() 4
mysqlRollback() 22
mysqlCommit() 41
getDatabaseTimezoneName() 61
getDatabaseTime() 84
convertDatabaseDateToUnixTime($date) 110
convertDatabaseDateToUTC($date) 128
convertToMySQLDate(string $date): string 141
getMySQLDate() 155
_mysql_connect($persistent = false, $try = 0) 171
_mysql_commit() 245
canCloseConnection() 267
_mysql_close() 305
_mysql_is_open() 330
lockForUpdate($tableName, $condition) 370
setDefaultSort($defaultSortColumn, $defaultSortOrder) 402
getPrivateMySQLDumpInstancePrefix() 411
createPrivateMySQLDumpPath() 426
getMySQLDumpFilesForRestore() 467
dumpMySQLDatabase($filePath, $extraOptions = [], &$status = [], $bfile = null) 505
updateLockFile($status, $bfile) 612
restoreMySQLBackup($filename) 639
executeSQLFile($mysqli, $filename) 686
lockTables($mysqli, $tables) 698
tableExists($mysqli, $tableName) 707

objects/functionsOpenGraph.php

Source

Named function/method Source line
determineOgType($videoType) 2
getMetaTagsContentType($videoType) 22
getMetaTagsContentVideoType($sourceFileURL) 37
generateMetaTags($videoType, $modifiedDate, $createdDate, $title, $description, $pageURL, $pageURLEmbed, $duration_in_seconds, $sourceFileURL, $imgPath, $imgURL, $extraMetatags = array(), $canonicalURL='') 45
getOpenGraphTag($tags_id) 185
getOpenGraphCategory($categories_id) 206
getOpenGraphChannel($users_id) 228
getOpenGraphSite() 248
getOpenGraphVideo($videos_id) 268
getOpenGraphLiveLink($liveLink_id) 339
getOpenGraphLiveSchedule($live_schedule_id) 360
getOpenGraphLive() 383

objects/functionsPHP.php

Source

Named function/method Source line
_empty($html_string) 9
_intval($string) 25
_strtotime($datetime) 36
_ob_end_clean() 43
_ob_clean() 49
_ob_start($force = false) 57
_ob_get_clean() 84
_getCookieTargetDomains() 92
_getCookieDeleteTargets() 109
_getCookieRequestDomain($host = null) 132
_normalizeCookieDomain($domain) 152
_isCookieSecure() 186
_getCookiePolicy() 222
_getDefaultCookieDomain() 240
_getSessionCookieIniSettings() 246
_applySessionCookieIniSettings() 256
_getCookieSameSiteValue($secure) 263
_getSessionCookieParamsConfig($lifetime, $domain = null, $path = '<string>') 268
_supportsCookieOptionsArray() 282
_getCookieOptionsArray(array $config, $includeExpires = true) 287
_getLegacySameSitePath(array $config) 308
_setcookieInternal($cookieName, $value, $expires, $path = '<string>', $domain = null) 319
_setSessionCookieParams($lifetime, $domain = null, $path = '<string>') 338
_setcookieWithExpiration($cookieName, $value, $expires) 362
_setcookie($cookieName, $value, $expires = 0) 381
_setSessionCookie($cookieName, $value) 402
_unsetcookie($cookieName) 407
_resetcookie($cookieName, $value) 420
_resetSessionCookie($cookieName, $value) 426
_substr($string, $start, $length = null) 433
_strlen($string) 443
is_utf8($string) 453
_utf8_encode_recursive($object) 458
_json_encode($object) 477
_json_decode($object, $associative = false) 504
_log_session_performance($reason = '<string>') 527
_session_write_close() 550
isSessionStarted() 560
session_start_preload() 578
_sessionRecordOpener() 618
_session_start(array $options = []) 641
_session_regenerate_id() 756
uniqidV4() 767
doesPHPVersioHasOBBug() 802
getSystemAPIs() 808

objects/functionsSecurity.php

Source

Declared classes/interfaces/traits: ParsedownSafeWithLinks.

Named function/method Source line
_uniqid() 7
checkAndCreateSaltV2() 17
adminSecurityCheck($force = false) 67
getSensitiveUserFields() 109
removeSensitiveUserFields(&$data) 149
canWatchVideoIncludingPassword($videos_id) 162
forbiddenPageIfCannotWatchVideo($videos_id) 177
forbiddenPageIfCannotEmbed($videos_id) 191
forbidIfIsUntrustedRequest($logMsg = '', $approveAVideoUserAgent = true) 223
isUntrustedRequest($logMsg = '', $approveAVideoUserAgent = true) 231
forbidIfItIsNotMyUsersId($users_id, $logMsg = '') 258
forbidIfNotPost($msg = '') 267
forbidIfInvalidToken($msg = '') 276
itIsNotMyUsersId($users_id) 284
requestComesFromSafePlace() 296
cleanDirectory($dir, $allowedExtensions = ['<string>', '<string>', '<string>', '<string>', '<string>', '<string>', '<string>', '<string>', '<string>', '<string>']) 307
xss_esc($text) 334
xss_esc_back($text) 356
csvFormulaEscape($value) 370
is_ssl_certificate_valid($port = 443, $domain = '<string>', $timeout = 5) 388
isBot($returnTrueIfNoUserAgent=true) 422
sanitizeATag($rawAttrs) 491
sanitizeImgTag($rawAttrs) 510
blockMarkup($Line) 539
inlineLink($Excerpt) 547
inlineUrlTag($Excerpt) 566
inlineMarkup($Excerpt) 585
markDownToHTML($text) 615
linkifyTimestamps($text) 657
getAToken() 698
forbiddenPage($message = ''<string>''<string>''<string>'403 Forbidden') 724
videoNotFound($message, $logMessage = false) 771
isForbidden() 783
includeSecurityChecks() 792
ddosProtection() 829
escapeshellcmdURL(string $command) 884
recreateCache() 889
getBearerToken() 893
rateLimitIncrementAndGet(string $key, int $timeWindow): int 962
rateLimitDecrement(string $key, int $timeWindow): void 1006
enforceRateLimit(string $operation = '', int $maxAttempts = 20, int $timeWindow = 300): void 1041
getCsrfBypassRelativePath($scriptPath) 1094
autoCSRFGuard($baseName, $scriptPath = '') 1105
autoRateLimitGuard($baseName, $scriptPath = '') 1250

objects/functionsSocket.php

Source

Named function/method Source line
sendSocketMessage($msg, $callbackJSFunction = "'<string>'-1'<string>'", $try = 0) 9
sendSocketMessageToUsers_id($msg, $users_id, $callbackJSFunction = "") 37
sendSocketErrorMessageToUsers_id($msg, $users_id, $callbackJSFunction = '<string>') 55
sendSocketSuccessMessageToUsers_id($msg, $users_id, $callbackJSFunction = '<string>') 63
sendSocketMessageToAll($msg, $callbackJSFunction = "'<string>'") 71
sendSocketMessageToNone($msg, $callbackJSFunction = "") 76
getSocketConnectionLabel() 81
getSocketVideoClassName($videos_id) 103
getSocketLiveClassName($key, $live_servers_id) 108
getSocketLiveLinksClassName($live_links_id) 113

objects/functionsStandAlone.php

Source

Named function/method Source line
isAPIKeyValid() 3
loadStandaloneConfiguration() 86

objects/functionsUpdate.php

Source

Named function/method Source line
getAVideoUpdateGitInfo($root) 4
getAVideoUpdateGitHubData($path) 30
getAVideoUpdateCommitStatus($localSha, $remoteSha, $comparison = null) 51
getAVideoUpdateOverview($root, $fetch = null) 65

objects/getAllEmails.csv.php

Source

No named function/method declarations were extracted. Inspect top-level code, includes and the caller.

objects/getAllVideosAsync.php

Source

No named function/method declarations were extracted. Inspect top-level code, includes and the caller.

objects/getCaptcha.json.php

Source

No named function/method declarations were extracted. Inspect top-level code, includes and the caller.

objects/getCaptcha.php

Source

No named function/method declarations were extracted. Inspect top-level code, includes and the caller.

objects/getImageFromFilenameAsync.php

Source

No named function/method declarations were extracted. Inspect top-level code, includes and the caller.

objects/getTags.php

Source

No named function/method declarations were extracted. Inspect top-level code, includes and the caller.

objects/getTimes.json.php

Source

No named function/method declarations were extracted. Inspect top-level code, includes and the caller.

objects/getTotalLastDaysAsync.php

Source

No named function/method declarations were extracted. Inspect top-level code, includes and the caller.

objects/getTotalTodayAsync.php

Source

No named function/method declarations were extracted. Inspect top-level code, includes and the caller.

objects/getTotalVideosInfoAsync.php

Source

No named function/method declarations were extracted. Inspect top-level code, includes and the caller.

objects/getVideoPaths.json.php

Source

No named function/method declarations were extracted. Inspect top-level code, includes and the caller.

objects/images.php

Source

Declared classes/interfaces/traits: ImagesPlaceHolders.

Named function/method Source line
getComponent($type, $return = 0) 39
supportsWebP() 77
isDefaultImage($path) 127
getImageIcon($return = 0) 171
getImageLandscape($return = 0) 176
getImagePortrait($return = 0) 181
getImageNotFoundIcon($return = 0) 186
getImageNotFoundLandscape($return = 0) 191
getImageNotFoundPortrait($return = 0) 196
getArticlesIcon($return = 0) 201
getArticlesLandscape($return = 0) 206
getArticlesPortrait($return = 0) 211
getAudioIcon($return = 0) 216
getAudioLandscape($return = 0) 221
getAudioPortrait($return = 0) 226
getPdfIcon($return = 0) 231
getPdfLandscape($return = 0) 236
getPdfPortrait($return = 0) 241
getUserIcon($return = 0) 246
getUserLandscape($return = 0) 251
getUserPortrait($return = 0) 256
getZipIcon($return = 0) 261
getZipLandscape($return = 0) 266
getZipPortrait($return = 0) 271
getVideoPlaceholder($return = 0) 276
getVideoPlaceholderPortrait($return = 0) 280
getVideoNotFoundPoster($return = 0) 284
getVideoAnimationLandscape($return = 0) 288
getVideoAnimationPortrait($return = 0) 292

objects/import.json.php

Source

No named function/method declarations were extracted. Inspect top-level code, includes and the caller.

objects/include_config.php

Source

Named function/method Source line
includeConfigLog($line, $desc = '') 86

objects/include_end.php

Source

No named function/method declarations were extracted. Inspect top-level code, includes and the caller.

objects/jshrink.php

Source

Declared classes/interfaces/traits: Minifier.

Named function/method Source line
minify($js, $options = []) 115
minifyDirectToOutput($js, $options) 151
initialize($js, $options) 164
loop() 199
clean() 277
getChar() 292
getReal() 330
processOneLineComments($startIndex) 362
processMultiLineComments($startIndex) 385
getNext($string) 439
saveString() 462
saveRegex() 536
isAlphaNumeric($char) 565
lock($js) 576
unlock($js) 601

objects/like.json.php

Source

No named function/method declarations were extracted. Inspect top-level code, includes and the caller.

objects/like.php

Source

Declared classes/interfaces/traits: Like.

Named function/method Source line
__construct($like, $videos_id) 17
setLike($like) 61
load() 70
getLike() 82
save() 96
getLikes($videos_id) 116
getTotalLikes() 150
getMyVote($videos_id) 172

objects/likes.edit.json.php

Source

No named function/method declarations were extracted. Inspect top-level code, includes and the caller.

objects/listFiles.json.php

Source

No named function/method declarations were extracted. Inspect top-level code, includes and the caller.

objects/localeTranslator.json.php

Source

Named function/method Source line
localeTranslatorCheckLanguage($lang) 36

objects/login.json.php

Source

No named function/method declarations were extracted. Inspect top-level code, includes and the caller.

objects/logoff.php

Source

No named function/method declarations were extracted. Inspect top-level code, includes and the caller.

objects/mainObject.php

Source

Declared classes/interfaces/traits: Main.

Named function/method Source line
dateMySQLToBrString($mySqlDate) 9
dateBrStringToMySQL($date) 33

objects/mention.json.php

Source

No named function/method declarations were extracted. Inspect top-level code, includes and the caller.

objects/myComments.download.php

Source

Named function/method Source line
safeURL($url) 53
shortVideoURL($videos_id) 66
commentToPlainText($commentWithLinks, $commentPlain) 75
csvRow($fh, $row, $level = 0) 98
renderRepliesRows($replies, $includeImages, $depth = 1) 133

objects/myComments.json.php

Source

No named function/method declarations were extracted. Inspect top-level code, includes and the caller.

objects/mysql_dal.php

Source

Declared classes/interfaces/traits: iimysqli_result, sqlDAL.

Named function/method Source line
throwPaymentError($message, $code = 0, $stmt = null) 53
executeFile($filename) 65
writeSql($preparedStatement, $formats = "", $values = [], $try=0) 115
writeSqlTry($preparedStatement, $formats = "", $values = []) 302
wasSTMTError() 337
readSql($preparedStatement, $formats = '', $values = [], $refreshCache = false) 351
close($result) 532
num_rows($res) 552
cached_num_rows($data) 580
fetchAllAssoc($result) 591
fetchAssoc($result) 617
fetchAllArray($result) 660
fetchArray($result) 689
eval_mysql_bind($stmt, $formats, $values) 704
iimysqli_stmt_get_result($stmt) 723
iimysqli_result_fetch_assoc(&$result) 752
iimysqli_result_fetch_array(&$result) 781
log_error($err) 810

Clone this wiki locally