getApi()->call( $this->getNodePath(), RequestInterface::METHOD_POST, array_merge($params, array( $this->getStatusParamName() => static::STATUS_ARCHIVED))); } /** * Delete this object * * @deprecated use api_update instead * @param array $params * @return void */ public function delete(array $params = array()) { $this->getApi()->call( $this->getNodePath(), RequestInterface::METHOD_POST, array_merge($params, array( $this->getStatusParamName() => static::STATUS_DELETED))); } }