You are here

public function CmisElement::setElement in CMIS API 8

Same name and namespace in other branches
  1. 8.2 src/CmisElement.php \Drupal\cmis\CmisElement::setElement()
  2. 3.0.x src/CmisElement.php \Drupal\cmis\CmisElement::setElement()

Set element.

Parameters

string $type:

AbstractFileableCmisObject $element:

File

src/CmisElement.php, line 92

Class

CmisElement
Description of CmisElement

Namespace

Drupal\cmis

Code

public function setElement($type, AbstractFileableCmisObject $element) {
  $this->type = $type;
  $this->element = $element;
  $this
    ->prepare();
}