v0

\Hubleto\Erp\Calendar

Parent classCore

Properties

 

☍ calendarConfig

public array{"title": string, "formComponent": string} $calendarConfig

Specifies what Activity Form component will be opened and what title should be used for a new button in the FormActivitySelector.tsx component

 

☍ app

protected \Hubleto\Framework\Interfaces\AppInterface $app
 

☍ color

protected string $color

Methods

ƒ setApp

public setApp(\Hubleto\Framework\Interfaces\AppInterface $app): void

Parameters

Parameter Type Description
$app \Hubleto\Framework\Interfaces\AppInterface

ƒ getApp

public getApp(): \Hubleto\Framework\Interfaces\AppInterface

ƒ setColor

public setColor(string $color): void

Parameters

Parameter Type Description
$color string

ƒ getColor

public getColor(): string

ƒ loadEvent

Loads specified event info.

public loadEvent(int $id): array

Parameters

Parameter Type Description
$id int

ƒ loadEvents

Loads event from calendar between dateStart and dateEnd.

public loadEvents(string $dateStart, string $dateEnd, array $filter = []): array

Parameters

Parameter Type Description
$dateStart string
$dateEnd string
$filter array

ƒ convertActivitiesToEvents

public convertActivitiesToEvents(string $source, array $activities, \Closure $detailsCallback): array

Parameters

Parameter Type Description
$source string
$activities array
$detailsCallback \Closure
www.hubleto.com | Found a bug or missing something? Report an issue via GitHub.