class ActionsStripeconnect extends CommonHookActions (View source)

Class Actions Stripe Connect

Properties

?string $resprints from  CommonHookActions
mixed|mixed[][] $results from  CommonHookActions
string $error from  CommonHookActions
string[] $errors from  CommonHookActions
string[] $warnings from  CommonHookActions
DoliDB $db

Methods

bool
isContext(array<string, mixed> $parameters, string[]|string $allContexts)

Check context of hook

__construct(DoliDB $db)

Constructor

int
formObjectOptions(array<string, mixed> $parameters, CommonObject $object, string $action)

formObjectOptions

int
addMoreActionsButtons(array<string, mixed> $parameters, object $object, string $action)

addMoreActionsButtons

Details

protected bool isContext(array<string, mixed> $parameters, string[]|string $allContexts)

Check context of hook

Parameters

array<string, mixed> $parameters

Hook parameters.

string[]|string $allContexts

Context to check

Return Value

bool

__construct(DoliDB $db)

Constructor

Parameters

DoliDB $db

Database handler

int formObjectOptions(array<string, mixed> $parameters, CommonObject $object, string $action)

formObjectOptions

Parameters

array<string, mixed> $parameters Parameters
CommonObject $object Object
string $action Action

Return Value

int

int addMoreActionsButtons(array<string, mixed> $parameters, object $object, string $action)

addMoreActionsButtons

Parameters

array<string, mixed> $parameters Parameters
object $object Object
string $action action

Return Value

int 0