← Torna ai documenti
API Inventory (generato automaticamente)
_File analizzati:_
- `audio.php`
- `auth.php`
- `bootstrap.php`
- `bootstrap_pubblica.php`
- `colors.php`
- `config.example.php`
- `config.php`
- `db_utilities.php`
- `disputil.php`
- `footer.php`
- `functions.php`
- `guard_admin.php`
- `guard_ath.php`
- `guard_auth.php`
- `header.php`
- `header_badge.php`
- `header_badge_mini.php`
- `header_slot_diario_admin.php`
- `header_slot_modifica.php`
- `helper.php`
- `ridimensiona_funziona.php`
- `ridimensiona_lib.php`
- `thumbs.php`
- `trad_widget.php`
- `upload_tinymce.php`
- `versioning.php`
---
audio.php
auth.php
Funzioni
- `current_user_id(())`
- `current_user_role(())`
- `user_has_role((array $roles))`
bootstrap.php
Costanti
bootstrap_pubblica.php
Costanti
Funzioni
colors.php
Funzioni
- `cambiaLuminositaColore((string $hexColor, float $percent))`
- `coloreBodyDaSfondo((string $classe))`
- `coloreCorniceDaSfondo((string $classe_sfondo, float $percent = -0.15))`
- `coloreTestoPerSfondo((string $bgHex))`
- `coloriBase(())`
- `coloriDaBase(($baseColor))`
- `desaturaColore((string $hex, float $percentuale = 0.5))`
- `modificaColore(($hexColor, $percent))`
config.example.php
Costanti
- `BASE_URL`
- `DB_HOST`
- `DB_NAME`
- `DB_PASS`
- `DB_USER`
config.php
Costanti
- `BASE_FS`
- `BASE_URL`
- `DEBUG_LOGFILE`
- `DEBUG_VITTROS`
- `VV_CONFIG`
- `VV_ENV`
Funzioni
- `_vv_user_arr(())`
- `can_view_post((array $post))`
- `current_role(())`
- `current_user(())`
- `is_logged_in(())`
- `require_role((string $role))`
- `role_gte((string $needed))`
- `vv_last_updated_human(())`
- `vv_log((string $level, string $message, array $ctx = []))`
- `vv_path((string $rel = ''))`
- `vv_release_badge(())`
- `vv_session_get((string $k, $default=null))`
- `vv_site_link(())`
- `vv_url((string $path = '/'))`
db_utilities.php
Funzioni
- `db_delete(($query, $params = []))`
- `db_exec(($query, $params = []))`
- `db_insert(($query, $params = []))`
- `db_select_all(($query, $params = []))`
- `db_select_row(($query, $params = []))`
- `db_update(($query, $params = []))`
- `draft_delete((mysqli $db, int $post_id, int $current_user_id, bool $force=false))`
- `draft_delete_pdo((PDO $pdo, int $post_id, ?int $current_user_id=null, bool $force=false))`
- `draft_get((mysqli $db, int $post_id))`
- `draft_get_pdo((PDO $pdo, int $post_id))`
- `draft_upsert((mysqli $db, int $post_id, int $updated_by, ?string $titolo, ?string $contenuto, ?string $sfondo))`
- `draft_upsert_pdo((PDO $pdo, int $post_id, ?int $updated_by, ?string $titolo, ?string $contenuto, ?string $sfondo))`
- `vv_user_display_name((PDO $pdo, int $uid))`
disputil.php
Funzioni
- `disputil_include_toast_assets(())`
footer.php
functions.php
Costanti
- `BASE_URL`
- `VITTROS_FUNCTIONS`
- `VV_ROOT`
Funzioni
- `aggiornaConfigurazione(($campo, $valore))`
- `contiene_immagini(($dir, $profondita = 3))`
- `crea_o_recupera_bozza(($autore_id))`
- `current_user_id(())`
- `debug_log(($msg, $livello = 'debug'))`
- `elenco_cartelle_con_immagini((string $base_path, array $exclude_roots = ['thumbs', 'web_wallpaper']))`
- `emoji_ruolo(($ruolo))`
- `getPDO(())`
- `getValoreConfigurazione(($campo))`
- `get_user_ip(())`
- `h(($s))`
- `has_images_in_dir((string $dir, array $exts = ['jpg', 'jpeg', 'png', 'JPG', 'JPEG', 'PNG']))`
- `log_end_session(($user_id))`
- `mb_strlen(($w, 'UTF-8'))`
- `puo_visualizzare_post((array $post, ?array $utente = null, string $scope = 'pubblico'))`
- `può_visualizzare_post(($utente, $post))`
- `string( $s))`
- `suggerisci_cartelle((string $titolo, string $base_path, array $opts = []))`
- `user_can_edit_post(($autoreId))`
- `vv_app_meta(())`
- `vv_base_url(())`
- `vv_cache_bust_token(())`
- `vv_client_ip(())`
- `vv_enqueue_theme_css((array $opts = []))`
- `vv_latest_changelog(())`
- `vv_theme_context(())`
- `vv_year_span((int $start, ?int $end = null))`
guard_admin.php
guard_ath.php
guard_auth.php
header.php
header_badge.php
Costanti
Funzioni
- `h(($s))`
- `rtrim((dirname($_SERVER['SCRIPT_NAME'] ?? '/'), '/'))`
header_badge_mini.php
header_slot_diario_admin.php
header_slot_modifica.php
helper.php
Costanti
Funzioni
- `h(($s))`
- `vv_base_url(())`
- `vv_cache_bust_token(())`
- `vv_client_ip(())`
- `vv_enqueue_theme_css((array $opts = []))`
- `vv_log((string $level, string $message, array $ctx=[]))`
- `vv_path((string $rel=''))`
- `vv_resolve_theme((?string $override=null))`
- `vv_url((string $p='/'))`
ridimensiona_funziona.php
Funzioni
- `ridimensiona_per_post((string $path, int $id_post))`
ridimensiona_lib.php
Funzioni
- `generaImmagineRidotta(($relpath, $id_post))`
thumbs.php
Costanti
- `VV_THUMBS_DIR`
- `VV_THUMBS_URL`
Funzioni
- `_vv_make_thumb_gd((string $srcFs, string $dstFs, int $w, string $ext))`
- `thumb_url((string $relPath, int $w = 320))`
trad_widget.php
upload_tinymce.php
versioning.php
Funzioni
- `vv_dbg(($msg))`
- `vv_list_versions((PDO $pdo, int $postId, int $limit = 20))`
- `vv_next_version_no((PDO $pdo, int $postId))`
- `vv_restore_version((PDO $pdo, int $postId, int $versionId, ?int $autoreId = null))`
- `vv_save_post_version((PDO $pdo, int $postId, ?int $autoreId = null, ?string $note = null))`