diff --git a/dev/skeletons/skeleton_class.class.php b/dev/skeletons/skeleton_class.class.php index f5de8e82f8c6e..7dd68e91f7ffe 100644 --- a/dev/skeletons/skeleton_class.class.php +++ b/dev/skeletons/skeleton_class.class.php @@ -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 */ @@ -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"); @@ -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 @@ -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 */ @@ -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"; @@ -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"); @@ -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 */ @@ -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");