db = new KaleEventsDatabase()
db->create()
db->ReadPlanAllByEventId(1)
array(5) { [0]=> object(stdClass)#7161 (16) { ["eventid"]=> int(1) ["plancoordinatex"]=> int(10) ["plancoordinatey"]=> int(20) ["plantabledata"]=> string(9) "tabledata" ["seattype"]=> int(1) ["rowtableid"]=> int(1) ["seatid"]=> int(1) ["sectorid"]=> int(1) ["pricecategory"]=> int(1) ["seatcoordinatex"]=> int(21) ["seatcoordinatey"]=> int(4) ["state"]=> int(1) ["seattypename"]=> string(5) "Reihe" ["sectorname"]=> string(7) "Parkett" ["pricecategoryname"]=> string(11) "Kategorie 1" ["price"]=> float(40.5) } [1]=> object(stdClass)#7162 (16) { ["eventid"]=> int(1) ["plancoordinatex"]=> int(10) ["plancoordinatey"]=> int(20) ["plantabledata"]=> string(10) "tabledata1" ["seattype"]=> int(1) ["rowtableid"]=> int(1) ["seatid"]=> int(2) ["sectorid"]=> int(1) ["pricecategory"]=> int(1) ["seatcoordinatex"]=> int(20) ["seatcoordinatey"]=> int(4) ["state"]=> int(1) ["seattypename"]=> string(5) "Reihe" ["sectorname"]=> string(7) "Parkett" ["pricecategoryname"]=> string(11) "Kategorie 1" ["price"]=> float(40.5) } [2]=> object(stdClass)#7163 (16) { ["eventid"]=> int(3) ["plancoordinatex"]=> int(10) ["plancoordinatey"]=> int(20) ["plantabledata"]=> string(9) "tabledata" ["seattype"]=> int(1) ["rowtableid"]=> int(1) ["seatid"]=> int(1) ["sectorid"]=> int(1) ["pricecategory"]=> int(1) ["seatcoordinatex"]=> int(0) ["seatcoordinatey"]=> int(0) ["state"]=> int(0) ["seattypename"]=> string(5) "Reihe" ["sectorname"]=> string(7) "Parkett" ["pricecategoryname"]=> string(4) "Test" ["price"]=> float(88) } [3]=> object(stdClass)#7164 (16) { ["eventid"]=> int(4) ["plancoordinatex"]=> int(10) ["plancoordinatey"]=> int(20) ["plantabledata"]=> string(9) "tabledata" ["seattype"]=> int(1) ["rowtableid"]=> int(1) ["seatid"]=> int(1) ["sectorid"]=> int(1) ["pricecategory"]=> int(1) ["seatcoordinatex"]=> int(22) ["seatcoordinatey"]=> int(4) ["state"]=> int(0) ["seattypename"]=> string(5) "Reihe" ["sectorname"]=> string(7) "Parkett" ["pricecategoryname"]=> string(11) "Kategorie 1" ["price"]=> float(20) } [4]=> object(stdClass)#7165 (16) { ["eventid"]=> int(4) ["plancoordinatex"]=> int(10) ["plancoordinatey"]=> int(20) ["plantabledata"]=> string(10) "tabledata1" ["seattype"]=> int(1) ["rowtableid"]=> int(1) ["seatid"]=> int(2) ["sectorid"]=> int(1) ["pricecategory"]=> int(1) ["seatcoordinatex"]=> int(21) ["seatcoordinatey"]=> int(4) ["state"]=> int(0) ["seattypename"]=> string(5) "Reihe" ["sectorname"]=> string(7) "Parkett" ["pricecategoryname"]=> string(11) "Kategorie 1" ["price"]=> float(20) } }

DatabaseTest