And a solution to my own problem!!
In my config.php I added this:
define('AK_ACTIVE_RECORD_ENABLE_AUTOMATIC_SETTERS_AND_GETTERS', true);
Then in the model I added this function:
function getFullName()
{
return $full_name = $this->first_name . " " . $this->last_name;
}
Now I can call $Person->get("full_name"), and it works! :-)
Ooo, $combined_attributes is even slicker. :-)
1 to 5 of 5