Forum

[SOLVED] Question a...
 
Notifications
Retirer tout

[SOLVED] Question about Offdaylist

2 Posts
2 Utilisateurs
0 Reactions
3,241 Vu
koorosh
(@keloniton)
Posts: 47
Active Member
Début du sujet
 
[#2956]

Hello,
I appreciate if you help me with the following questions:
1. in file ../model/calander.php, line 197: $cal= New Calendar(); An object is made of a class which is called Calender. Where is this class defined?
2. in file ../model/calander.php, line 198-205: A function of ../model/persistence/sqlElement is loaded to see if "IsOffDay" equels 1 or 0 and also "IdCalanderDefinition" equels 1. Now 3 questions:
2.1. Which Database and Table does contain this Field?
2.2. Which code Does fill IsOffDay with 0 or 1?
2.1. How does the Projeqtor understand whether the IsOffDay of a specific date must be 0 or 1?
3. Do you use Dojo to draw gant chart? Which file does contain the related source code?


 
Posté : 24 Jan AM 09:011
(@babynus)
Posts: 14952
Membre Admin
 

1) in /model/Calendar.php
NB : there is no Calender, only Calendar

2.1) idCalendarDEfinition is defined in Calendar and refers to id of CalendarDefinition
2.2) /tool/saveCalendar.php
2.3) Day is Saturday or Sunday or Calendar day is stored as off day
3) No, it is /view/js/jsgantt.js


 
Posté : 24 Jan PM 16:011
Share:
Retour en haut