src/CMDBCategory.php
public function purge($objectID, $categoryConst, $entryID = null) {
        $params = [
            'object' => $objectID,
            'category' => $categoryConst
        ];

        if (isset($entryID)) {
            $params['entry'] = $entryID;
        }

        $this->api->request(
            'cmdb.category.purge',
            $params
        );

        return $this;
    }
public function purge($objectID, $categoryConst, $entryID = null) {
        $params = [
            'object' => $objectID,
            'category' => $categoryConst
        ];

        if (isset($entryID)) {
            $params['entry'] = $entryID;
        }

        $this->api->request(
            'cmdb.category.purge',
            $params
        );

        return $this;
    }
public function purge ( $ objectID , $ categoryConst , $ entryID = null ) { $ params = [ 'object' => $ objectID , 'category' => $ categoryConst ] ; if ( isset ( $ entryID ) ) { $ params [ 'entry' ] = $ entryID ; } $ this -> api -> request ( 'cmdb.category.purge' , $ params ) ; return $ this ; }
Purge entry in a single- or multi-value category for a specific object

@param int $objectID Object identifier
@param string $categoryConst Category constant
@param int $entryID Entry identifier (only needed for multi-value categories)

@return self Returns itself

@throws Exception on error
Purge entry in a single - or multi - value category for a specific object