GPMSWiki/DeveloperDocumentation/MigrationHelp/APIChanges: Difference between revisions

From BRF-Software
Jump to navigation Jump to search
imported>MichaelDondrup
No edit summary
 
imported>MichaelDondrup
No edit summary
Line 8: Line 8:
== Changes ==
== Changes ==


* Method '''project''' is now use: '''init_project''' and '''release_project'''. Use init to connect to a project and release to disconnect prior to changing to another project. You '''must''' release before you can init a second time, otherwise risking malfuncton. Be careful: method ''project'' still exists but does something different /!\ Don't use it /!\
* Method '''project''' is now: '''init_project''' and '''release_project'''. Use init to connect to a project and release to disconnect prior to changing to another project. You '''must''' release before you can init a second time, otherwise risking malfuncton. Be careful: method ''project'' still exists but does something different /!\ Don't use it /!\  
* All attribute accessor methods use consistent spelling: lowercase
* All attributes returning arrays are consistenly plural syntax, all scalar values singular
* All Classnames are consistently named in singular: '''Rights''' --> '''Right'''

Revision as of 14:45, 6 November 2008

List of Changes in the GPMS API

This list is non exhaustive and Perl only although we try.....

More or less sorted by frequency of occurance in our code:

Changes

  • Method project is now: init_project and release_project. Use init to connect to a project and release to disconnect prior to changing to another project. You must release before you can init a second time, otherwise risking malfuncton. Be careful: method project still exists but does something different /!\ Don't use it /!\
  • All attribute accessor methods use consistent spelling: lowercase
  • All attributes returning arrays are consistenly plural syntax, all scalar values singular
  • All Classnames are consistently named in singular: Rights --> Right