Stud.IP  4.2 Revision
AssignObject Class Reference
Collaboration diagram for AssignObject:
Collaboration graph

Public Member Functions

 __construct ($argv)
 
 createId ()
 
 create ()
 
 getId ()
 
 getAssignUserId ()
 
 GetOwnerName ($explain=false, $event_obj=null)
 
 getUsername ($use_free_name=true, $explain=true)
 
 getOwnerType ()
 
 getResourceId ()
 
 getUserFreeName ()
 
 getBegin ()
 
 getEnd ()
 
 getRepeatEnd ()
 
 getRepeatQuantity ()
 
 getRepeatInterval ()
 
 getRepeatMonthOfYear ()
 
 getRepeatDayOfMonth ()
 
 getRepeatWeekOfMonth ()
 
 getRepeatDayOfWeek ()
 
 getRepeatMode ()
 
 getRepeatEndByQuantity ()
 
 getEvents ()
 
 isNew ()
 
 isRepeatEndSemEnd ()
 
 checkLock ()
 
 checkHoliday ()
 
 checkOverlap ($check_locks=true)
 
 getFormattedShortInfo ()
 
 getFormattedRepeatMode ()
 
 setResourceId ($value)
 
 setUserFreeName ($value)
 
 setAssignUserId ($value)
 
 setBegin ($value)
 
 setEnd ($value)
 
 setRepeatEnd ($value)
 
 setRepeatQuantity ($value)
 
 setRepeatInterval ($value)
 
 setRepeatMonthOfYear ($value)
 
 setRepeatDayOfMonth ($value)
 
 setRepeatWeekOfMonth ($value)
 
 setRepeatDayOfWeek ($value)
 
 setCommentInternal ($value)
 
 getCommentInternal ()
 
 restore ($id='')
 
 store ($create='')
 
 updateResourcesTemporaryEvents ()
 
 syncronizeMetaDates ()
 
 delete ()
 
 getCopyForResource ($resource_id)
 

Static Public Member Functions

static Factory ()
 

Data Fields

 $id
 
 $resource_id
 
 $assign_user_id
 
 $user_free_name
 
 $begin
 
 $end
 
 $repeat_end
 
 $repeat_quantity
 
 $repeat_interval
 
 $repeat_month_of_year
 
 $repeat_day_of_month
 
 $repeat_week_of_month
 
 $repeat_day_of_week
 
 $comment_internal
 
 $isNewObject
 
 $chng_flag
 
 $events
 

Constructor & Destructor Documentation

◆ __construct()

__construct (   $argv)
Here is the call graph for this function:

Member Function Documentation

◆ checkHoliday()

checkHoliday ( )

This method checks the events on conflicting holidays.

Returns
mixed false if no holidays were found, an array with the name and date of the holidays otherwise
Here is the call graph for this function:

◆ checkLock()

checkLock ( )
Here is the call graph for this function:

◆ checkOverlap()

checkOverlap (   $check_locks = true)
Here is the call graph for this function:

◆ create()

create ( )
Here is the call graph for this function:

◆ createId()

createId ( )
Here is the caller graph for this function:

◆ delete()

delete ( )
Here is the call graph for this function:

◆ Factory()

static Factory ( )
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getAssignUserId()

getAssignUserId ( )
Here is the caller graph for this function:

◆ getBegin()

getBegin ( )

◆ getCommentInternal()

getCommentInternal ( )

◆ getCopyForResource()

getCopyForResource (   $resource_id)

◆ getEnd()

getEnd ( )

◆ getEvents()

getEvents ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getFormattedRepeatMode()

getFormattedRepeatMode ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getFormattedShortInfo()

getFormattedShortInfo ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getId()

getId ( )
Here is the caller graph for this function:

◆ GetOwnerName()

GetOwnerName (   $explain = false,
  $event_obj = null 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getOwnerType()

getOwnerType ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getRepeatDayOfMonth()

getRepeatDayOfMonth ( )

◆ getRepeatDayOfWeek()

getRepeatDayOfWeek ( )

◆ getRepeatEnd()

getRepeatEnd ( )

◆ getRepeatEndByQuantity()

getRepeatEndByQuantity ( )
Here is the call graph for this function:

◆ getRepeatInterval()

getRepeatInterval ( )
Here is the caller graph for this function:

◆ getRepeatMode()

getRepeatMode ( )
Here is the caller graph for this function:

◆ getRepeatMonthOfYear()

getRepeatMonthOfYear ( )

◆ getRepeatQuantity()

getRepeatQuantity ( )

◆ getRepeatWeekOfMonth()

getRepeatWeekOfMonth ( )

◆ getResourceId()

getResourceId ( )

◆ getUserFreeName()

getUserFreeName ( )
Here is the caller graph for this function:

◆ getUsername()

getUsername (   $use_free_name = true,
  $explain = true 
)
Here is the call graph for this function:

◆ isNew()

isNew ( )

◆ isRepeatEndSemEnd()

isRepeatEndSemEnd ( )
Here is the call graph for this function:

◆ restore()

restore (   $id = '')
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setAssignUserId()

setAssignUserId (   $value)

◆ setBegin()

setBegin (   $value)

◆ setCommentInternal()

setCommentInternal (   $value)

◆ setEnd()

setEnd (   $value)

◆ setRepeatDayOfMonth()

setRepeatDayOfMonth (   $value)

◆ setRepeatDayOfWeek()

setRepeatDayOfWeek (   $value)

◆ setRepeatEnd()

setRepeatEnd (   $value)

◆ setRepeatInterval()

setRepeatInterval (   $value)

◆ setRepeatMonthOfYear()

setRepeatMonthOfYear (   $value)

◆ setRepeatQuantity()

setRepeatQuantity (   $value)

◆ setRepeatWeekOfMonth()

setRepeatWeekOfMonth (   $value)

◆ setResourceId()

setResourceId (   $value)

◆ setUserFreeName()

setUserFreeName (   $value)

◆ store()

store (   $create = '')
Here is the call graph for this function:
Here is the caller graph for this function:

◆ syncronizeMetaDates()

syncronizeMetaDates ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateResourcesTemporaryEvents()

updateResourcesTemporaryEvents ( )

update the table resources_temporary_events for this assign

Todo:
the second should be rewritten as prepared statement
Here is the call graph for this function:
Here is the caller graph for this function:

Field Documentation

◆ $assign_user_id

$assign_user_id

◆ $begin

$begin

◆ $chng_flag

$chng_flag

◆ $comment_internal

$comment_internal

◆ $end

$end

◆ $events

◆ $id

$id

◆ $isNewObject

$isNewObject

◆ $repeat_day_of_month

$repeat_day_of_month

◆ $repeat_day_of_week

$repeat_day_of_week

◆ $repeat_end

$repeat_end

◆ $repeat_interval

$repeat_interval

◆ $repeat_month_of_year

$repeat_month_of_year

◆ $repeat_quantity

$repeat_quantity

◆ $repeat_week_of_month

$repeat_week_of_month

◆ $resource_id

$resource_id

◆ $user_free_name

$user_free_name

The documentation for this class was generated from the following file: