PHP Class RestLog, cakephp-rest-plugin

Inheritance: extends RestAppModel
Show file 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 property

public $Encoder

$filedata public property

public $filedata

$logpaths public property

public $logpaths

$restLogSettings public property

public $restLogSettings