/** Get the Auto ID **/ public function getId() { $class = get_class($this); if (!TLO::keyAuto($class)) { throw new TLOException('Class "%s" does not have an Auto ID', $class); } $keys = $this->getKeys($class); return reset($keys); }
/** Get the Auto ID **/ public function getId() { $class = get_class($this); if (!TLO::keyAuto($class)) { throw new TLOException('Class "%s" does not have an Auto ID', $class); } $keys = $this->getKeys($class); return reset($keys); }