public function CmisElement::setElement in CMIS API 8
Same name and namespace in other branches
- 8.2 src/CmisElement.php \Drupal\cmis\CmisElement::setElement()
- 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\cmisCode
public function setElement($type, AbstractFileableCmisObject $element) {
$this->type = $type;
$this->element = $element;
$this
->prepare();
}