Symbiote\MicroBlog\Model\Friendship
Describes a relationship between users
- Author: marcus@silverstripe.com.au
- License: BSD License http://silverstripe.org/bsd-license/
Synopsis
class Friendship
extends DataObject
{
- // members
- private static string $table_name = 'Friendship';
- private static array $db = ;
- private static array $has_one = ;
- private static array $defaults = ;
- // methods
- public void reciprocal()
- public void canView()
- public void canEdit()
- public void canDelete()
Hierarchy
Extends
- SilverStripe\ORM\DataObject
Members
private
- $db
- $defaults
- $has_one
- $table_name
Methods
public
- canDelete()
- canEdit()
- canView()
- reciprocal() — get the 'other' view of this friendship