View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Supportez nous sur Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - copy Document - ProjeQtOr

Prochaines Sessions

Les prochaines formations et démonstrations sont ouvertes, inscrivez-vous rapidement !

 

Démonstration de ProjeQtOr

(gratuit, sur inscription)
 

13 mai 2025 (10h30-12h)

5 juin 2025 (16h-17h30)

 
 

Planifiez avec ProjeQtOr

14 et 15 mai 2025 (9h-12h30)

18 et 19 juin 2025 (9h-12h30)

 
 

Administrez avec ProjeQtOr

20 et 21 mai (9h-12h30)

25 et 26 juin (9h-12h30)

 

 

 

copy Document

More
11 Jui 2013 16:01 - 11 Jui 2013 16:03 #1 by DjackJack
copy Document was created by DjackJack
hi,

I would like to know where you manage the copies of documents and documentVersions?
Last edit: 11 Jui 2013 16:03 by DjackJack.

Please Connexion or Create an account to join the conversation.

More
13 Jui 2013 10:33 #2 by babynus
Replied by babynus on topic Re: copy Document
Like any other object, in :
/model/persistence/SqlElement.php->copySqlElement()

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

More
13 Jui 2013 11:14 #3 by DjackJack
Replied by DjackJack on topic Re: copy Document
Thank you but I will wish a little more information about how to insulate the case document because I think there is a problem over there.

Indeed, when you copy a version, the version id is copied too, while for a new document version should start from 0.

what is the field "IsReF" Document Object?

Please Connexion or Create an account to join the conversation.

More
13 Jui 2013 11:44 #4 by babynus
Replied by babynus on topic Re: copy Document
So you'll probably find what you expect in the save() function of each dedicated class (/model/Document.php and /model/DocumentVersion.php) that extend the default save() function called by the copy() function (in /model/persistence/SqlElement.php)

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

More
13 Jui 2013 14:18 #5 by DjackJack
Replied by DjackJack on topic Re: copy Document
Is there a way to know if the save () function is called when a copy or during normal processing?

Please Connexion or Create an account to join the conversation.

More
13 Jui 2013 14:46 #6 by babynus
Replied by babynus on topic Re: copy Document
It is always : it is the only way to save data to database.

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.039 seconds

Paramétrages de cookies

×

Cookies fonctionnels

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Veuillez vous connecter pour voir vos activités!

Autres cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.