PHP Class RestLog, cakephp-rest-plugin

Inheritance: extends RestAppModel
Exibir arquivo Open project: kvz/cakephp-rest-plugin

Public Properties

Property Type Description
$Encoder
$filedata
$logpaths
$restLogSettings

Public Methods

Method Description
afterSave ( $created, $options = [] ) : Log fields to disk if necessary. Important to do after save so we can also use the ->id in the filename.
beforeSave ( $options = [] ) : Some log fields might be destined for disk instead of db

Method Details

afterSave() public method

Log fields to disk if necessary. Important to do after save so we can also use the ->id in the filename.
public afterSave ( $created, $options = [] ) :
$created
return

beforeSave() public method

Some log fields might be destined for disk instead of db
public beforeSave ( $options = [] ) :
$options
return

Property Details

$Encoder public_oe property

public $Encoder

$filedata public_oe property

public $filedata

$logpaths public_oe property

public $logpaths

$restLogSettings public_oe property

public $restLogSettings