Where can I find the complete API or javadoc on Delegate cla
4 posts
• Page 1 of 1
I noticed that some of the methods are not documented such as %field%__default() and %field%__display(). I found them very useful to provide a user freendly UI. Is there a place I can find all the supported methods for both the Table and Application Delegate Classes?
Thanks, Raymond
I apologize for the scanty documentation of delegate class methods... The idea is that they should all be documented here (http://framework.weblite.ca/documentation/manual/delegate_classes) but unfortunately I haven't had time to get around to it... Here's a quick list of some methods you can implement (off the top of my head) %fieldname%__htmlValue(&$record) : for the html value of a field (used in 'view' tab) %fieldname%__permissions(&$record) : field specific permissions (overrides permissions in getPermissions() for that field) %fieldname%__display(&$record) : customize display (used anywhere the field is displayed in the app) field__%fieldname%(&$record) : a calculated field block__%blockname%() : Inserts content into a {block} or {slot} tag in the UI. beforeSave(&$record) : called before a record is saved .. there are more triggers too for after actions are performed. getTitle(&$record) : gets the title of a record titleColumn() : gets the name of the column that should be treated as the title column for the table There are more methods than this but these are the main ones. Best regards Steve
4 posts
• Page 1 of 1
Who is onlineUsers browsing this forum: No registered users and 30 guests |