public function deleteEvents($events)
    {
        $data = array (
                'token'        => $this->apiToken,
                'content'      => 'event',
                'action'       => 'delete',
                'returnFormat' => 'json',
        );
        
        $data['events'] = $this->processEventsArgument($events, $required = true);
        
        $result = $this->connection->callWithArray($data);
        
        $this->processNonExportResult($result);
        
        return (integer) $result;
    }
public function deleteEvents($events)
    {
        $data = array (
                'token'        => $this->apiToken,
                'content'      => 'event',
                'action'       => 'delete',
                'returnFormat' => 'json',
        );
        
        $data['events'] = $this->processEventsArgument($events, $required = true);
        
        $result = $this->connection->callWithArray($data);
        
        $this->processNonExportResult($result);
        
        return (integer) $result;
    }
public function deleteEvents ( $ events ) { $ data = array ( 'token' => $ this -> apiToken , 'content' => 'event' , 'action' => 'delete' , 'returnFormat' => 'json' , ) ; $ data [ 'events' ] = $ this -> processEventsArgument ( $ events , $ required = true ) ; $ result = $ this -> connection -> callWithArray ( $ data ) ; $ this -> processNonExportResult ( $ result ) ; return ( integer ) $ result ; }
Deletes the specified events from the project.

@param array $events array of event names of events to delete.

@throws PhpCapException if an error occurs, including if the events array is null or empty.

@return integer the number of events deleted.
Deletes the specified events from the project .