addOwnerHistory()
public static méthode
Add record to history setting. Changes are not saved automatically.
public static addOwnerHistory ( Farm $farm, User $owner, User $user ) |
$farm |
Farm |
Farm object |
$owner |
Scalr\Model\Entity\Account\User |
New owner |
$user |
Scalr\Model\Entity\Account\User |
User who changes owner for this farm |