And yet another question about the simple model tutorial

edited May 2012 in Modules
Setting up the form:

Which section of the user guide do I need to read in order to understand this paragraph:

"Also, adding the parsed_fields property to the model will tell it to parse any template syntax for the specified fields. The content_formatted field is a derived field that can be called on the record model so it is addes as well."

And can you maybe give an example on the function:
form_fields($values = array())
{
$fields = parent::form_fields($values);
//****Add custom form stuff here ***/// ------ Example here? What does it mean Add custom form stuff here? (By the way, there is a spelling mistake there: cusom instead of custom)
return $fields;
}

Comments

Sign In or Register to comment.