public function CmisElement::setElement in CMIS API 8.2
Same name and namespace in other branches
- 8 src/CmisElement.php \Drupal\cmis\CmisElement::setElement()
- 3.0.x src/CmisElement.php \Drupal\cmis\CmisElement::setElement()
Set element.
Parameters
string $type: Controller type.
\Dkd\PhpCmis\DataObjects\AbstractFileableCmisObject $element: Get AbstractFileableCmisObject class.
File
- src/
CmisElement.php, line 108
Class
- CmisElement
- Description of CmisElement.
Namespace
Drupal\cmisCode
public function setElement($type, AbstractFileableCmisObject $element) {
$this->type = $type;
$this->element = $element;
$this
->prepare();
}