![]() |
|---|
| [ Index ] |
Source Code Reference for V1.00 |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 2315 lines (81 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
CTask:: (43 methods):
CTask()
__toString()
check()
load()
peek()
updateDynamics()
copy()
deepCopy()
move()
deepMove()
store()
delete()
updateDependencies()
getDependencies()
staticGetDependencies()
notifyOwner()
notify()
email_log()
getTasksForPeriod()
canAccess()
dependentTasks()
shiftDependentTasks()
update_dep_dates()
get_deps_max_end_date()
getTaskDurationPerDay()
getTaskDurationPerWeek()
removeAssigned()
updateAssigned()
getAssignedUsers()
getAllocation()
getUserSpecificTaskPriority()
updateUserSpecificTaskPriority()
getProject()
getChildren()
getDeepChildren()
updateSubTasksStatus()
updateSubTasksProject()
canUserEditTimeInformation()
addReminder()
remind()
clearReminder()
getAllowedRecords()
getAssigned()
CTaskLog:: (10 methods):
CTaskLog()
w2PTrimAll()
check()
canDelete()
getAllowedRecords()
showtask()
findchild()
array_csort()
calcEndByStartAndDuration()
sort_by_item_title()
| CTask() X-Ref |
| No description |
| __toString() X-Ref |
| No description |
| check() X-Ref |
| No description |
| load($oid = null, $strip = false, $skipUpdate = false) X-Ref |
| No description |
| peek($oid = null, $strip = false) X-Ref |
| No description |
| updateDynamics($fromChildren = false) X-Ref |
| No description |
| copy($destProject_id = 0, $destTask_id = -1) X-Ref |
| No description |
| deepCopy($destProject_id = 0, $destTask_id = 0) X-Ref |
| No description |
| move($destProject_id = 0, $destTask_id = -1) X-Ref |
| No description |
| deepMove($destProject_id = 0, $destTask_id = 0) X-Ref |
| No description |
| store() X-Ref |
| delete() X-Ref |
| updateDependencies($cslist) X-Ref |
| No description |
| getDependencies() X-Ref |
| Retrieve the tasks dependencies author: handco <handco@users.sourceforge.net> return: string comma delimited list of tasks id's |
| staticGetDependencies($taskId) X-Ref |
| Retrieve the tasks dependencies author: handco <handco@users.sourceforge.net> param: integer ID of the task we want dependencies return: string comma delimited list of tasks id's |
| notifyOwner() X-Ref |
| No description |
| notify($comment = '') X-Ref |
| No description |
| email_log(&$log, $assignees, $task_contacts, $project_contacts, $others, $extras) X-Ref |
| Email the task log to assignees, task contacts, project contacts, and others based upon the information supplied by the user. |
| getTasksForPeriod($start_date, $end_date, $company_id = 0, $user_id = null) X-Ref |
param: Date Start date of the period param: Date End date of the period param: integer The target company |
| canAccess($user_id) X-Ref |
| No description |
| dependentTasks($taskId = false, $isDep = false, $recurse = true) X-Ref |
| retrieve tasks are dependent of another. param: integer ID of the master task param: boolean true if is a dep call (recurse call) param: boolean false for no recursion (needed for calc_end_date) |
| shiftDependentTasks() X-Ref |
| No description |
| update_dep_dates($task_id) X-Ref |
| No description |
| get_deps_max_end_date($taskObj) X-Ref |
| No description |
| getTaskDurationPerDay($use_percent_assigned = false) X-Ref |
| Function that returns the amount of hours this task consumes per user each day |
| getTaskDurationPerWeek($use_percent_assigned = false) X-Ref |
| Function that returns the amount of hours this task consumes per user each week |
| removeAssigned($user_id) X-Ref |
| No description |
| updateAssigned($cslist, $perc_assign, $del = true, $rmUsers = false) X-Ref |
| No description |
| getAssignedUsers() X-Ref |
| No description |
| getAllocation($hash = null, $users = null, $get_user_list = false) X-Ref |
| Calculate the extent of utilization of user assignments param: string hash a hash for the returned hashList param: array users an array of user_ids calculating their assignment capacity return: array returns hashList of extent of utilization for assignment of the users |
| getUserSpecificTaskPriority($user_id = 0, $task_id = null) X-Ref |
| No description |
| updateUserSpecificTaskPriority($user_task_priority = 0, $user_id = 0, $task_id = null) X-Ref |
| No description |
| getProject() X-Ref |
| No description |
| getChildren() X-Ref |
| No description |
| getDeepChildren() X-Ref |
| No description |
| updateSubTasksStatus($new_status, $task_id = null) X-Ref |
| This function, recursively, updates all tasks status to the one passed as parameter |
| updateSubTasksProject($new_project, $task_id = null) X-Ref |
| This function recursively updates all tasks project to the one passed as parameter |
| canUserEditTimeInformation() X-Ref |
| No description |
| addReminder() X-Ref |
| Injects a reminder event into the event queue. Repeat interval is one day, repeat count and days to trigger before event overdue is set in the system config. |
| remind($module, $type, $id, $owner, &$args) X-Ref |
| Called by the Event Queue processor to process a reminder on a task. param: string $module Module name (not used) param: string $type Type of event (not used) param: integer $id ID of task being reminded param: integer $owner Originator of event param: mixed $args event-specific arguments. return: mixed true, dequeue event, false, event stays in queue. |
| clearReminder($dont_check = false) X-Ref |
| No description |
| getAllowedRecords($uid, $fields = '*', $orderby = '', $index = null, $extra = null) X-Ref |
| No description |
| getAssigned() X-Ref |
| No description |
| CTaskLog() X-Ref |
| No description |
| w2PTrimAll() X-Ref |
| No description |
| check() X-Ref |
| No description |
| canDelete(&$msg, $oid = null, $joins = null) X-Ref |
| No description |
| getAllowedRecords($uid, $fields = '*', $orderby = '', $index = null, $extra = null) X-Ref |
| No description |
| showtask(&$arr, $level = 0, $is_opened = true, $today_view = false, $hideOpenCloseLink = false, $allowRepeat = false) X-Ref |
| No description |
| findchild(&$tarr, $parent, $level = 0) X-Ref |
| No description |
| array_csort() X-Ref |
| No description |
| calcEndByStartAndDuration($task) X-Ref |
| No description |
| sort_by_item_title($title, $item_name, $item_type, $a = '') X-Ref |
| No description |
| Generated: Thu Jan 8 03:00:03 2009 | Cross-referenced by PHPXref 0.7 |