All pastes #902778 Raw Edit

Pseudo code

public text v1 · immutable
·published 2008-02-13 19:27 UTC
rendered paste body
So I get the logic i need for the loops/queries/control structures.
 
What I don't get is:
an object is a SINGLE object
Do you just loop though creating "objects" when you need a list?
or
Do you store the objects in an array...

I could have had this done procedurally days ago...
if I didn't want to wrap it in functions or classes...
BUT, I want to automate and reuse code ---- I want to understand OOP! 
**sounds of screaming, sobbing, emitting from office

=====================

Basic logic needed:

publication "ABC"
---issue 1 [CREATE NEW AD LINK]
------ClassAd  [PREVIEW] [EDIT] [REMOVE]
------ClassAd [PREVIEW] [EDIT] [REMOVE]
------etc. ....
---issue 2...
------etc. ....

publication "XYZ"
---issue 1  [CREATE NEW AD]
------ClassAd  [PREVIEW] [EDIT] [REMOVE]
------ClassAd [PREVIEW] [EDIT] [REMOVE]
------etc. ....
---issue 2 ....
------etc. ..