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 dcba31a commit 0cc8ee9
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions dev/skeletons/skeleton_class.class.php
Expand Up @@ -61,7 +61,7 @@ function __construct($db)
/**
* Create object into database
*
* @param User $user User that create
* @param User $user User that creates
* @param int $notrigger 0=launch triggers after, 1=disable triggers
* @return int <0 if KO, Id of created object if OK
*/
Expand Down Expand Up @@ -102,7 +102,7 @@ function create($user, $notrigger=0)
if (! $notrigger)
{
// Uncomment this and change MYOBJECT to your own tag if you
// want this action call a trigger.
// want this action calls a trigger.

//// Call triggers
//include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
Expand Down Expand Up @@ -133,7 +133,7 @@ function create($user, $notrigger=0)


/**
* Load object in memory from database
* Load object in memory from the database
*
* @param int $id Id object
* @return int <0 if KO, >0 if OK
Expand Down Expand Up @@ -178,7 +178,7 @@ function fetch($id)
/**
* Update object into database
*
* @param User $user User that modify
* @param User $user User that modifies
* @param int $notrigger 0=launch triggers after, 1=disable triggers
* @return int <0 if KO, >0 if OK
*/
Expand All @@ -193,7 +193,7 @@ function update($user=0, $notrigger=0)
//...

// Check parameters
// Put here code to add control on parameters values
// Put here code to add a control on parameters values

// Update request
$sql = "UPDATE ".MAIN_DB_PREFIX."mytable SET";
Expand All @@ -213,7 +213,7 @@ function update($user=0, $notrigger=0)
if (! $notrigger)
{
// Uncomment this and change MYOBJECT to your own tag if you
// want this action call a trigger.
// want this action calls a trigger.

//// Call triggers
//include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
Expand Down Expand Up @@ -246,7 +246,7 @@ function update($user=0, $notrigger=0)
/**
* Delete object in database
*
* @param User $user User that delete
* @param User $user User that deletes
* @param int $notrigger 0=launch triggers after, 1=disable triggers
* @return int <0 if KO, >0 if OK
*/
Expand All @@ -262,7 +262,7 @@ function delete($user, $notrigger=0)
if (! $notrigger)
{
// Uncomment this and change MYOBJECT to your own tag if you
// want this action call a trigger.
// want this action calls a trigger.

//// Call triggers
//include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php");
Expand Down

0 comments on commit 0cc8ee9

Please sign in to comment.