Skip to content

Commit

Permalink
translation enhancement
Browse files Browse the repository at this point in the history
  • Loading branch information
grandoc committed Aug 20, 2012
1 parent 33ea1e1 commit dcba31a
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions dev/skeletons/README
Expand Up @@ -9,7 +9,7 @@ skeleton_*.php to build its generated code.


modMyModule.class.php:
Is a sample of module descriptor you can use if you want to build a new module/plugin for
Is a sample of module descriptor that you can use if you want to build a new module/plugin for
Dolibarr.


Expand All @@ -20,11 +20,7 @@ skeleton_page.php:
Is a sample you can use as an example if you need to build an HTML page to include in Dolibarr GUI.

skeleton_class.class.php:
Is a sample you can use as an example if you need to build a class file to access a new table
required by a Dolibarr development.
However it is better to run the script build_class_from_table.php that accept a table name as a
parameter and will used table description in database and the skeleton_class.class.php file to
generate full code for your class file.
After running this script, the class to access your table (insert a record, update, delete and select)
is directly finished and can be used by your business code. No more coding for accesser on table
is needed with this script as the file is completely generated once.
Is a sample you can use as an example if you need to build a class file to access a new table required by a Dolibarr development.
However it is better to run the build_class_from_table.php script that accepts a table name as a parameter and will uses the description table within database and the skeleton_class.class.php file to generate full code for your class file.
After running this script, the class to access your table (insert a record, update, delete and select) is directly finished and can be used by your module's code.
No more coding is needed to get access to table with this script because the file is completely generated once.

0 comments on commit dcba31a

Please sign in to comment.