Configuration API
In order to access the extension configuration, a slim PHP API exists. Each configuration option is accessible by an appropriate class property.
Changed in version 4.2.0
Several class methods were converted to class properties and deprecated in version 4.2.0. Calling those methods will be possible until version 5.0 of the extension, but deprecation notices will be logged on every method call.
- class Configuration
-
- Fully qualified name
-
\Elias
Haeussler\ Typo3Warming\ Configuration\ Configuration
API to access all available extension configuration options.
-
crawler
Class -
Get the configured crawler class. To access the instantiated crawler, call the
get
method instead.Crawler
-
crawler
Options -
Get the configured crawler options.
-
verbose
Crawler Class -
Get the configured verbose crawler class. To access the instantiated crawler, call the
get
method instead.Verbose Crawler
-
verbose
Crawler Options -
Get the configured verbose crawler options.
-
parser
Options -
Get the configured parser options.
-
client
Options -
Get the configured client options.
- limit
-
Get the configured crawler limit.
-
exclude
Patterns -
Get the configured exclude patterns.
-
crawling
Strategy -
Get the configured crawling strategy.
-
enabled
In Page Tree -
Check whether cache warmup from page tree is enabled.
-
supported
Doktypes -
Get all doktypes that support cache warmup from page tree.
-
enabled
In Toolbar -
Check whether cache warmup from toolbar is enabled.
- getCrawler ( )
-
Get the configured crawler.
- returntype
-
\Elias
Haeussler\ Cache Warmup\ Crawler\ Crawler
- getVerboseCrawler ( )
-
Get the configured verbose crawler.
- returntype
-
\Elias
Haeussler\ Cache Warmup\ Crawler\ Verbose Crawler
- getUserAgent ( )
-
Get the calculated user-agent.
Deprecated since version 4.2.0
Call
\Elias
instead. See migration guide for more information.Haeussler\ Typo3Warming\ Http\ Message\ Request\ Request Options:: get User Agent - returntype
-
string