abstract class ActionsAdherentCardCommon (View source)

Class to manage members using default canvas

Properties

DoliDB $db
string $dirmodule
string $targetmodule
string $canvas
string $card
array<string, mixed> $tpl
object $object
string $error
string[] $errors

Methods

getObject($id)

Get object

assign_values($action, int $id, $ref = '')

Set content of ->tpl array, to use into template

Details

Adherent getObject($id)

Get object

@param int $id Object id

Parameters

$id

Return Value

Adherent

Object loaded

assign_values($action, int $id, $ref = '')

Set content of ->tpl array, to use into template

@param string $action Type of action

Parameters

$action
int $id

Id @param string $ref Object ref (if id not provided) / Unused here @return void

$ref