Not sure the best way of phrasing this so bear with me.
Within Codeigniter I can return a record set of my object no problem but this is returned as a stdClass object not as an "model" object (for example a Page Object) which I can then use to make use of other methods within that model.
Am I missing a trick here? Or is this the standard functionality within CI?
Yes, basically in order for this to work you need to declare your Model objects properties class-wide, and refer to
$this
being the current model object.I believe
get_entry()
will return an object typeBlogmodel
.