Property | Type | Description | |
---|---|---|---|
$farmId | integer | Farm identifier |
Method | Description | |
---|---|---|
addOwnerHistory ( |
Add record to history setting. Changes are not saved automatically. | |
getOwnerHistory ( |
Get history of changes |
public static addOwnerHistory ( |
||
$farm | Farm object | |
$owner | New owner | |
$user | User who changes owner for this farm |
public static getOwnerHistory ( |
||
$farm | Farm object | |
return | array |