does anyone know how to use schema infos in the baking templates?
to be precise, in the views

currently I check on the field names themselves
if ($field=="created") {
  // display formatted date
}
if ($field=="id") {
  // skip primary key
}
if ($field=="active") {
  // display yes/no image for checkboxes
}
etc

it would be more helpful if i had information about the schema. so i
can handle all "date" and "datetime" fields (even if they are called
"published" etc). and that i can handle all tinyint(1) fields as yes/
no images.

thx

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to