From 826a0ceb950872bb311addd24c1a8da76a1cccc6 Mon Sep 17 00:00:00 2001 From: wei <> Date: Mon, 19 Feb 2007 02:23:19 +0000 Subject: Add trace to active records and TDbCommand --- framework/Data/ActiveRecord/Scaffold/TScaffoldEditView.php | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'framework/Data/ActiveRecord/Scaffold/TScaffoldEditView.php') diff --git a/framework/Data/ActiveRecord/Scaffold/TScaffoldEditView.php b/framework/Data/ActiveRecord/Scaffold/TScaffoldEditView.php index a792aeb9..14b4098a 100644 --- a/framework/Data/ActiveRecord/Scaffold/TScaffoldEditView.php +++ b/framework/Data/ActiveRecord/Scaffold/TScaffoldEditView.php @@ -17,9 +17,11 @@ Prado::using('System.Data.ActiveRecord.Scaffold.TScaffoldBase'); /** * Template control for editing an Active Record instance. + * The RecordClass determines the Active Record class to be edited. + * A particular record can be edited by specifying the {@link setRecordPk RecordPk} + * value (may be an array for composite keys). * * The default editor input controls are created based on the column types. - * * The editor layout can be specified by a renderer. A renderer is an external * template control that implements IScaffoldEditRenderer. * @@ -33,9 +35,10 @@ Prado::using('System.Data.ActiveRecord.Scaffold.TScaffoldBase'); * (the edit view instance is the Parent of the IScaffoldEditRenderer in most * cases. * - * The RecordClass determines the Active Record class to be edited. - * A particular record can be edited by specifying the {@link setRecordPk RecordPk} - * value (may be an array for composite keys). + * Cosmetic changes to the default editor should be done using Cascading Stylesheets. + * For example, a particular field/property can be hidden by specifying "display:none" for + * the corresponding style (each field/property has unique Css class name as "property_xxx", where + * xxx is the property name). * * @author Wei Zhuo * @version $Id$ -- cgit v1.2.3