v0

\Hubleto\Erp\Calendar

Parent classCore

Properties

calendarConfig

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

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

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

public loadEvent(int $id): array

Parameters:

Parameter Type Description
$id int

loadEvents

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.