Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

[SOLVED] Question a...
 
Notifications
Clear all

[SOLVED] Question about Offdaylist

2 Posts
2 Users
0 Reactions
3,242 Views
koorosh
(@keloniton)
Posts: 47
Active Member
Topic starter
 
[#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?


 
Posted : 24 Jan 2016 9H21
(@babynus)
Posts: 14952
Member 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


 
Posted : 24 Jan 2016 16H53
Share:

Scroll to Top