¡@

Home 

php Programming Glossary: gettracklist

Doctrine2: Best way to handle many-to-many with extra columns in reference table

http://stackoverflow.com/questions/3542243/doctrine2-best-way-to-handle-many-to-many-with-extra-columns-in-reference-table

public function getTitle return this title public function getTracklist return this tracklist toArray @Entity class Track @Id @Column.. as album echo album getTitle . PHP_EOL foreach album getTracklist as track echo sprintf t# d 20s s s n track getPosition track.. wrong This code demonstrates what's wrong foreach album getTracklist as track echo track getTrack getTitle Album getTracklist returns..