Changes between Version 3 and Version 4 of ProjectSpecificPrefs
- Timestamp:
- Dec 24, 2007, 1:23:26 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ProjectSpecificPrefs
v3 v4 1 1 = Project-specific preferences = 2 2 3 You can provide users with a set of project-specific preferences, controlled via a web interface. These preferences are stored in XML, in a field of the user table. You determine the structure of this XML, and what it's used for. On the client, the XML is passed to your application in the [BasicApi#Communicatingwiththecoreclient APP_INIT_DATA structure]. 3 You can provide users with a set of project-specific preferences, controlled via a web interface. 4 These preferences are stored in XML, in a field of the user table. 5 You determine the structure of this XML, and what it's used for. 6 On the client, the XML is passed to your application in the [BasicApi#Communicatingwiththecoreclient APP_INIT_DATA structure]. 4 7 5 8 Examples of project-specific preferences include: … … 8 11 * [AppFiltering Application selection]: you can allow users to select which of your applications they will be sent work for. 9 12 10 The PHP code that allows users to edit their project-specific preferences is in `html/project/project_specific_prefs.inc`. When you create your project, this is initialized to sample code. To create your own project-specific preferences, edit this file 13 The PHP code related to project-specific preferences is in `html/project/project_specific_prefs.inc`. 14 When you create your project, this is initialized to sample code. 15 To create your own project-specific preferences, edit this file 11 16 (and keep it under SVN or CVS somewhere). 12 17 The functions you must supply are: 13 18 19 * `project_specific_prefs_default()` 14 20 * `project_specific_prefs_edit()` 15 21 * `project_specific_prefs_parse_form()`