danog\MadelineProto\Settings\Templates: Web template settings for the login and status pages.
Author: Daniil Gentili daniil@daniil.it
Web template settings for the login and status pages.
The pages are rendered by native PHP templates (see {@see TemplateEngine}): to customize them, copy the templates you want to change from the builtin template directory ({@see TemplateEngine::BUILTIN_DIRECTORY}) to a directory of yours, and add it with {@see self::addDirectory()}.
Method list:
getDirectories(): list<string>setDirectories(list<string> $directories): \danog\MadelineProto\Settings\TemplatesaddDirectory(string $directory): \danog\MadelineProto\Settings\Templates
Methods:
getDirectories(): list<string>
Get the template directories, searched in order before the builtin one.
setDirectories(list<string> $directories): \danog\MadelineProto\Settings\Templates
Set the template directories, searched in order before the builtin one.
A directory only needs to contain the templates it overrides.
Parameters:
$directories:list<string>Template directories
addDirectory(string $directory): \danog\MadelineProto\Settings\Templates
Add a template directory, searched before the ones that were already added and the builtin one.
A directory only needs to contain the templates it overrides.
Parameters:
$directory:stringTemplate directory
Generated by danog/phpdoc