Class craft\et\EtTransport
- Inheritance
- craft\et\EtTransport
- Available since version
- 3.0
- Source Code
- https://github.com/craftcms/cms/blob/master/src/et/EtTransport.php
Class Et
Method | Description | Defined By |
---|---|---|
__construct() |
Constructor | craft\et\EtTransport |
phoneHome() |
craft\et\EtTransport | |
setData() |
Sets custom data on the EtModel. | craft\et\EtTransport |
setHandle() |
Sets the handle ("craft" or a plugin handle) that is the subject for the request. | craft\et\EtTransport |
Constant | Value | Description | Defined By |
---|---|---|---|
CACHE_DURATION |
86400 | craft\et\EtTransport |
Method Details
__construct()
public method
#
Constructor
public void __construct ( $endpoint )
$endpoint |
string |
phoneHome()
public method
#
public craft\models\Et, null phoneHome ( )
throws | \craft\errors\EtException|\Exception |
---|
setData()
public method
#
Sets custom data on the EtModel.
public void setData ( $data )
$data |
mixed |
setHandle()
public method
#
Sets the handle ("craft" or a plugin handle) that is the subject for the request.
public void setHandle ( \craft\et\string $handle )
$handle |
string |