Overview
  • Package
  • Class

Packages

  • CT-API
  • CT-ChurchAuth
  • CT-ChurchCal
  • CT-ChurchCheckin
  • CT-ChurchCore
  • CT-ChurchDB
  • CT-ChurchFinance
  • CT-ChurchHome
  • CT-ChurchReport
  • CT-ChurchResource
  • CT-ChurchService
  • CT-ChurchTranslate
  • CT-ChurchWiki
  • CT-DB
  • CT-Form

Classes

  • CTAdminModule
  • CTAuthModule
  • CTChurchCalModule
  • CTChurchCheckinModule
  • CTChurchDBModule
  • CTChurchFinanceModule
  • CTChurchReportModule
  • CTChurchResourceModule
  • CTChurchServiceModule
  • CTChurchWikiModule
  • CTHomeModule
  • CTLoginModule

Interfaces

  • CTModuleInterface

Class CTChurchCalModule

CTChurchCalModule defines all API calls für ChurchCal

CTAbstractModule implements CTModuleInterface
Extended by CTChurchCalModule
Package: CT-API
Located at system/churchcal/classes/CTChurchCalModule.class.php

Methods summary

public
# getMasterData( )

get getMasterData

get getMasterData

public array
# getAllowedPeopleForCalender( array $params )

Parameters

$params

Returns

array
with persons
public
# pollForNews( $params )
public
# getEvent( $params )
public
# getEventChangeImpact( [type] $params )

Checking the depending changes in other modules For single events splitDate is the origin startdate

Checking the depending changes in other modules For single events splitDate is the origin startdate

Parameters

$params
with newEvent, originEvent, splitDate, untilEnd_yn
public
# saveSplittedEvent( $params )
public
# createEvent( $params )
public
# updateEvent( $params )
public
# deleteEvent( $params )
public
# saveReminder( $params )
public
# getCalPerCategory( array $params )

Get all calendar entries for category ids with bookings and cs event infos. Events with repeats has to be interpreted.

Get all calendar entries for category ids with bookings and cs event infos. Events with repeats has to be interpreted.

Parameters

$params

Possible values are:

  • category_ids - Array of ids for category, e.g. category_id[]=2&category_id[]=3

public
# getCalendarEvents( array $params )

Get all calendar events for category ids and between from and to with bookings. Important: This function returns each event, there is no repeat logic which has to interpreted.

Get all calendar events for category ids and between from and to with bookings. Important: This function returns each event, there is no repeat logic which has to interpreted.

Parameters

$params

Possible values are:

  • category_ids - Array of ids for category, e.g. category_id[]=2&category_id[]=3
  • from - days from now
  • to - days from now

public
# getAbsents( $params )
public
# getMyServices( $params )
public
# getBirthdays( $params )
public
# deleteCategory( $params )
public
# getShares( $params )
public
# saveShares( $params )
public
# getResource( $params )
public
# getAllowedGroups( )
public
# getAllowedPersons( )
public
# saveCategory( $params )
public
# delAddition( $params )

Methods inherited from CTAbstractModule

__construct(), call(), checkPerm(), deleteMasterData(), deleteMasterDataReferences(), editNotification(), generatePDF(), getConstraints(), getMasterDataOfTables(), getMasterDataTablenames(), getModuleName(), getModulePath(), getSettings(), hasPDFGenerator(), log(), logGroup(), logMasterData(), logPerson(), makeDownloadFile(), notify(), prepareForLog(), prooveDeleteMasterData(), saveMasterData(), saveMasterDataToDB(), saveSetting(), setCookie(), setLanguage()

API documentation generated by ApiGen