/** * Check element status * * @return object */ public function getElementStatus($elementId, $elementparams, $attachments = NULL) { // Get attachment type model $attModel = new \Components\Publications\Models\Attachments($this->_parent->_db); $status = $attModel->getStatus($elementparams->type, $elementparams, $elementId, $attachments); return $status; }