Get the list of blacklist entries for a given download
Attempting to call this method on a download other than bittorent will fail.
@param $downloadTaskId
@return models\Download\BlackListEntry[]
161940
public function getAllFromDownloadTaskId( $downloadTaskId) {
        $service = sprintf( self::API_DOWNLOAD_ITEM_BLACKLIST, $downloadTaskId);
        $rest = $this->getService( $service);
        $rest->GET();

        return $rest->getResultAsArray( models\Download\BlackListEntry::class);
    }
295370
public function getMatchingEntries()
    {
        $limits = $this->getRange();
        $current = $limits['begin'];
        $entries[] = $this->long2ip($current);
        $entries = array();

        while ($current != $limits['end']) {
            $current = $this->IpLongAdd($current, 1);
            $entries[] = $this->long2ip($current);
        }

        return $entries;
    }
415689
def getChildren(current,calls,blacklist=[]):
    '''  '''
    return [c.target for c in calls if c.source==current and c.target not in blacklist]
229055
public function getAllInstallmentPaymentMethodCodes()
    {
        $return = [];
        $paymentMethods = (array) $this->_scopeConfig->getValue('installments/payment_methods');
        foreach ($paymentMethods as $code => $null) {
            $return[] = $code;
        }
        return $return;
    }
1119167
public function blacklist() {
        $args = func_get_args();

        if (isset($args[0]) && is_array($args[0])) {
            $args = $args[0];
        }

        $this->_blacklist += $args;
        $this->_blacklist = array_filter($this->_blacklist);

        return $this;
    }
44598
public function getFilesFromId( $taskId){
        $Service = sprintf( self::API_DOWNLOAD_FILES, $taskId);
        $rest = $this->getService( $Service);
        $rest->GET();

        return $rest->getResultAsArray( models\Download\File::class);
    }
329919
public function getEntry()
    {
        $lines = file($this->less);

        $colors = [];

        $colors['bg']      = array('title' => 'Background Color',          'hex' => trim(substr(explode('@bg: ',               $lines[0])[1], 0, -2)));
        $colors['gray']    = array('title' => 'Main Gray',                 'hex' => trim(substr(explode('@gray: ',             $lines[1])[1], 0, -2)));
        $colors['primary'] = array('title' => 'Primary Color',             'hex' => trim(substr(explode('@brand-primary: ',    $lines[2])[1], 0, -2)));
        $colors['info']    = array('title' => 'Information Color',         'hex' => trim(substr(explode('@brand-info: ',       $lines[3])[1], 0, -2)));
        $colors['success'] = array('title' => 'Success Color',             'hex' => trim(substr(explode('@brand-success: ',    $lines[4])[1], 0, -2)));
        $colors['warning'] = array('title' => 'Warning Color',             'hex' => trim(substr(explode('@brand-warning: ',    $lines[5])[1], 0, -2)));
        $colors['danger']  = array('title' => 'Error Color',               'hex' => trim(substr(explode('@brand-danger: ',     $lines[6])[1], 0, -2)));
        $colors['menu']    = array('title' => 'Active Menu Link Color',    'hex' => trim(substr(explode('@menuColor: ',        $lines[7])[1], 0, -2)));

        return $colors;
    }
1365284
public function indexOfFiles($blockId)
    {
        $this->authorize('readList', File::class);
        $input  = $this->validator->validate('files');
        $params = $this->processor->process($input)->getProcessedFields();
        $block  = $this->repository->getById($blockId);
        if (empty($block)) {
            return $this->respondNotFound();
        }
        $results = $this->fileRepository->getEntityFiles(
            $block,
            $params['filter'],
            $params['orderBy'],
            $params['page'],
            $params['perPage']
        );
        return $this->respondWithSuccess($results, new FileTransformer);
    }
174740
public function getEntry($entryId) {
        $this->gotoEntry($entryId);
        return $this->getFile()->fread(self::B_SZ);
    }
249239
protected function getBlacklistedExtensions()
    {
        $block = config('cms-upload-module.upload.restrict.extensions.block', null);

        if ( ! is_array($block) || ! count($block)) {
            return false;
        }

        return array_map('trim', array_map('strtolower', $block));
    }
1197196
public function eraseFromId( $download_id){
        $eraseService = sprintf( self::API_DOWNLOAD_ERASE, $download_id);
        $rest = $this->getService( $eraseService);
        $rest->DELETE();

        return $rest->getSuccess();
    }
691726
public function getTasks($limit = 100, $offset = 0)
    {
        /** @var TaskFbApi $response */
        $response = $this->call(new Request('task.get', array(), $limit, $offset), 'DVelopment\FastBill\Model\TaskFbApi');

        return $response->getResponse()->getTasks();
    }
1262178
public function getOne(int $taskId) : array {
        return $this->sendGet(
            sprintf('/profiles/%s/processes/%s/tasks/%s', $this->userName, $this->processId, $taskId)
        );
    }
1310934
public function getAccountEntries()
    {
        $entries = [];
        foreach ($this->extensions as $name => $extension) {
            if (null !== $e = $extension->getAccountMenuEntries()) {
                $entries = array_merge($entries, $e);
            }
        }
        return $entries;
    }
431274
public function getUnreadMessages($uid, $limit=null)
	{
		if (!$uid)
		{
			return array();
		}

		$r = $this->getTableName();
		$m = Message::blank()->getTableName();
		$s = Seen::blank()->getTableName();

		$entries = Message::all()
			->select($m . '.*,' . $r . '.expires,' . $r . '.actionid')
			//->join($m, $m . '.id', $r . '.mid', 'inner')
			->join($r, $m . '.id', $r . '.mid', 'inner')
			->whereEquals($r . '.uid', $uid)
			->where($r . '.state', '!=', 2)
			->whereRaw($m . ".id NOT IN (SELECT s.mid FROM `" . $s . "` AS s WHERE s.uid=" . $uid . ")")
			->order($r . '.created', 'desc');

		if ($limit)
		{
			$entries->limit($limit);
		}

		return $entries->rows();
	}
51800
protected function getTaskData($taskId)
    {
        $task             = $this->getTask($taskId);
        $result['id']     = $this->getTaskId($task);
        $result['status'] = $this->getTaskStatus($task);
        $result['report'] = $this->getTaskReport($task);

        return $result;
    }
931936
public static function blacklisted($name = null)
    {
        if (!func_num_args()) {
            return array_keys(static::$_blacklist);
        }
        return isset(static::$_blacklist[strtolower($name)]);
    }