add parameter for id
This commit is contained in:
parent
999acd1029
commit
7817b78d2c
1 changed files with 3 additions and 2 deletions
|
@ -16,10 +16,11 @@ class CRM_TwingleCampaign_BAO_TwingleProject extends Campaign {
|
||||||
* @param string $origin
|
* @param string $origin
|
||||||
* Origin of the arrays. It can be one of two constants:
|
* Origin of the arrays. It can be one of two constants:
|
||||||
* TwingleProject::TWINGLE|CIVICRM
|
* TwingleProject::TWINGLE|CIVICRM
|
||||||
|
* @param int|null $id
|
||||||
*
|
*
|
||||||
* @throws Exception
|
* @throws \Exception
|
||||||
*/
|
*/
|
||||||
function __construct(array $project, string $origin) {
|
function __construct(array $project, string $origin, int $id = NULL) {
|
||||||
parent::__construct($project, $origin);
|
parent::__construct($project, $origin);
|
||||||
|
|
||||||
$this->id = $id;
|
$this->id = $id;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue