Property | Type | Description | |
---|---|---|---|
$action | string | ||
$created | DateTime | ||
$id | integer | ||
$is_public | boolean | ||
$resource_diff | string | ||
$resource_id | string | ||
$resource_title | string | ||
$resource_type | string | ||
$user | Newscoop\Entity\User |
Method | Description | |
---|---|---|
__construct ( ) | ||
getAction ( ) : string | Get action. | |
getCreated ( ) : DateTime | Get created. | |
getId ( ) : integer | null | Get id. | |
getResourceDiff ( ) : array | Get resource diff. | |
getResourceId ( ) : mixed | Get resource id. | |
getResourceTitle ( ) : string | Get resource title. | |
getResourceType ( ) : string | Get resource type. | |
getUser ( ) : Newscoop\Entity\User | null | Get user. | |
setAction ( string $action ) : Newscoop\Entity\AuditEvent | Set action. | |
setResourceDiff ( array $diff ) : Newscoop\Entity\AuditEvent | Set resource diff. | |
setResourceId ( mixed $resourceId ) : Newscoop\Entity\AuditEvent | Set resource id. | |
setResourceTitle ( string $resourceTitle ) : Newscoop\Entity\AuditEvent | Set resource title. | |
setResourceType ( string $resourceType ) : Newscoop\Entity\AuditEvent | Set resource type. | |
setUser ( |
Set user |
public getResourceTitle ( ) : string | ||
return | string |
public getResourceType ( ) : string | ||
return | string |
public setResourceDiff ( array $diff ) : Newscoop\Entity\AuditEvent | ||
$diff | array | |
return | Newscoop\Entity\AuditEvent |
public setResourceId ( mixed $resourceId ) : Newscoop\Entity\AuditEvent | ||
$resourceId | mixed | |
return | Newscoop\Entity\AuditEvent |
public setResourceTitle ( string $resourceTitle ) : Newscoop\Entity\AuditEvent | ||
$resourceTitle | string | |
return | Newscoop\Entity\AuditEvent |
public setResourceType ( string $resourceType ) : Newscoop\Entity\AuditEvent | ||
$resourceType | string | |
return | Newscoop\Entity\AuditEvent |
public setUser ( |
||
$user | ||
return | Newscoop\Entity\AuditEvent |