public function getRow($id) { $sql = "SELECT * FROM {$this->db->prefix}entity_relationships WHERE id = :id"; $params = [':id' => (int) $id]; return $this->db->getDataRow($sql, null, $params); }