public __construct ( |
||
$entityInfo | ||
$actionsInfo | ||
$action | string | |
$entityId | string | |
$customTags | array | |
$customFiles | array |
public function __construct($entityInfo, $actionsInfo, $action, $entityId, $customTags = [], $customFiles = [])
{
parent::__construct($entityInfo->entityName, $actionsInfo, $action, $entityId, $customTags, $customFiles);
$this->entityInfo = $entityInfo;
$this->actionsInfo = $actionsInfo;
}
public function __construct($action, $entityId, $postType, $postTitle, $postUpdatedProperties = array()) { parent::__construct("post", $action, $entityId); $this->postType = $postType; $this->postTitle = $postTitle; $this->postUpdatedProperties = implode(",", $postUpdatedProperties); }