Files
snipe-it/app/models/Actionlog.php
T
2013-11-19 02:00:02 -05:00

43 lines
462 B
PHP

<?php
class ActionLog extends Eloquent {
protected $table = 'asset_logs';
public $timestamps = false;
/**
* Get the parent category name
*/
public function assetlog()
{
}
/**
* Get the parent category name
*/
public function userlog()
{
}
/**
* Get the parent category name
*/
public function logaction($actiontype)
{
$this->action_type = $actiontype;
if($this->save())
{
return true;
} else {
return false;
}
}
}