Solar_Access_Adapter::isOwner()

public bool Solar_Access_Adapter::isOwner ( mixed $object )

Checks to see if the current user is the owner of a particular object.

Parameters

  • (mixed) $object: The object to check ownership of.

Returns

  • (bool)

Description

Checks to see if the current user is the owner of a particular object.

Only works when loaded with Auth and Role objects.



Local