Documentation du code de SPIP et de ses plugins

SPIP: Supported Versions

api_spip_loader.php

Table of Contents

Functions

action_api_spip_loader_dist()  : void
Action de consultation de l'API pour le script spip_loader.
get_mtime()  : int
Gets the UNIX timestamp of the modified time of a file.
last_modified()  : string
Gets the most recent modified time.

Functions

action_api_spip_loader_dist()

Action de consultation de l'API pour le script spip_loader.

action_api_spip_loader_dist() : void
Tags
codeCoverageIgnore

get_mtime()

Gets the UNIX timestamp of the modified time of a file.

get_mtime(string $filename) : int
Parameters
$filename : string

relative filename to find in SPIP_PATH

Return values
int

UNIX timestamp of the modified time or 0 if file not found

last_modified()

Gets the most recent modified time.

last_modified(int $releases, int $preReleases) : string
Parameters
$releases : int
$preReleases : int
Return values
string

Formatted Last-Modified header


        
On this page

Search results