v0

\Hubleto\Erp\Calendar

Parent classCore

Properties

 
### ☍ calendarConfig ```php 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 ```php protected \Hubleto\Framework\Interfaces\AppInterface $app ```
 
### ☍ color ```php 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.eu | Found a bug or missing something? Report an issue via GitHub.