For something I'm writing, I want to get an empty copy of a model, or a copy with default values.
So, normally it might return something like
array(
'id' => '4',
'name' => 'Object name',
'somekey' => 'Some key\'s value',
'someotherkey' => '1',
'created' => '2012-04-22 17:11:31',
'modified' => '2012-04-22 17:11:31'
)
Instead I would like it to return an array with the keys intact, but the values empty completely, or even better (if possible) with a default values that I could specify in the model itself. Is this possible?