public __construct ( |
||
$cache | A cache for this table | |
$db | The Elgg database | |
$entityTable | The entities table | |
$events | The events registry | |
$session | ElggSession | The session |
public function __construct(Cache $cache, Database $db, EntityTable $entityTable, Events $events, Session $session)
{
$this->cache = $cache;
$this->db = $db;
$this->entityTable = $entityTable;
$this->events = $events;
$this->session = $session;
$this->table = $this->db->prefix . "metadata";
}