mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Add createFromClone function in skeleton
This commit is contained in:
parent
2a6ad76913
commit
da779e3e95
|
|
@ -34,7 +34,7 @@ For translators:
|
|||
in UTF8.
|
||||
|
||||
For developers:
|
||||
- Update skeletons.
|
||||
- Update skeletons (fixes and add function createFromClass).
|
||||
- Add an experimental Cash Desk module.
|
||||
- Added new triggers events in agenda module.
|
||||
- All submodules are moved in the includes directory.
|
||||
|
|
@ -43,6 +43,7 @@ For developers:
|
|||
and add a different value in an HTML id for each entry. This allows
|
||||
to build skins that use different style for each menu entry.
|
||||
|
||||
|
||||
***** Changelog for 2.4 compared to 2.2 *****
|
||||
|
||||
For users:
|
||||
|
|
|
|||
|
|
@ -17,11 +17,11 @@
|
|||
*/
|
||||
|
||||
/**
|
||||
\file dev/skeletons/build_class_from_table.php
|
||||
\ingroup core
|
||||
\brief Create a complete class file from a table in database
|
||||
\version $Id$
|
||||
*/
|
||||
* \file dev/skeletons/build_class_from_table.php
|
||||
* \ingroup core
|
||||
* \brief Create a complete class file from a table in database
|
||||
* \version $Id$
|
||||
*/
|
||||
|
||||
// Test if batch mode
|
||||
$sapi_type = php_sapi_name();
|
||||
|
|
|
|||
|
|
@ -303,10 +303,9 @@ class Skeleton_class // extends CommonObject
|
|||
/**
|
||||
* \brief Load an object from its id and create a new one in database
|
||||
* \param fromid Id of object to clone
|
||||
* \param invertdetail Reverse sign of amounts for lines
|
||||
* \return int New id of clone
|
||||
*/
|
||||
function createFromClone($fromid,$invertdetail=0)
|
||||
function createFromClone($fromid)
|
||||
{
|
||||
global $user,$langs;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user