Handling array passed to object at creation
- by cecilli0n
When creating my object I pass it an array of a row from my database.
(everything in the array we will need, disregarding unnecessary elements at sql query level)
When I need to access certain array elements from within my class, I do so like
$this->row['element']
However, As I continue development, I sometimes forget what exactly is in this…