Define os estilos do documento
@param  array                         $options
@return \Cityware\Datagrid\Export\Pdf
491761
private function defineStyles(array $options = array())
    {
        $this->_style = new ZfPdf\Style();
        $this->_style->setFillColor(new ZfPdf\Color\Html($options['colors']['lines']));

        $this->_topo = new ZfPdf\Style();
        $this->_topo->setFillColor(new ZfPdf\Color\Html($options['colors']['header']));

        $this->td = new ZfPdf\Style();
        $this->td->setFillColor(new ZfPdf\Color\Html($options['colors']['row2']));

        $this->td2 = new ZfPdf\Style();
        $this->td2->setFillColor(new ZfPdf\Color\Html($options['colors']['row1']));

        $this->_styleText = new ZfPdf\Style();
        $this->_styleText->setFillColor(new ZfPdf\Color\Html($options['colors']['text']));

        return $this;
    }
1273133
public function create(array $options = [])
    {
        $this->info = $this->connection->createTopic($options + [
            'name' => $this->name
        ]);

        return $this->info;
    }
490784
public function setOptions(array $options)
    {
        $this->validateOptions($options, $this->type);

        $this->options = $options;

        return $this;
    }
209627
public function options($options)
    {
        foreach ($this->queries as $query) {
            $query->options($options);
        }

        return $this;
    }
714881
public function export($options = [])
    {
        $this->_setContentLength();
        return [
            'status'  => $this->status(),
            'version' => $this->version(),
            'headers' => $this->headers(),
            'body'    => $this->stream()
        ];
    }
661113
public function createIfNotExists($document, $options = null)
    {
        $this->assertProperties($document, ['_id', '_type'], 'createIfNotExists');
        return $this->createDocument($document, 'createIfNotExists', $options);
    }
996848
public function options($options = [])
    {
        if (!$this->keyAsValue) {
            return parent::options($options);
        }

        if ($options instanceof Collection) {
            $options = $options->pluck($this->visibleColumn, $this->key)->toArray();
        }

        if ($options instanceof Arrayable) {
            $options = $options->toArray();
        }

        $this->options = $options + $this->options;

        return $this;
    }
940849
public function createOptions(Array $options) {

		$this->options = [];

		foreach($options as $value => $label) {
			$this->appendOption(new RadioOptionElement($value, new LabelElement($label)));
		}
		
		return $this;

	}
1311331
public static function createFromOptions(array $options)
    {
        Validate::notNull($options['Name'], 'options[Name]');
        Validate::notNull(
            $options['ParentIngestManifestId'],
            'options[ParentIngestManifestId]'
        );
        Validate::notNull(
            $options['ParentIngestManifestAssetId'],
            'options[ParentIngestManifestAssetId]'
        );

        $file = new self(
            $options['Name'],
            $options['ParentIngestManifestId'],
            $options['ParentIngestManifestAssetId']
        );

        $file->fromArray($options);

        return $file;
    }
446404
public function withOptions($options)
    {
        if (is_array($options)) {
            $options = new RequestOptions($options);
        }

        $this->options = $options;

        return $this;
    }
615051
public function withOptions(array $options = []): Element
    {
        $this->options = array_merge(
            $this->options,
            $options
        );

        return $this;
    }
1068383
public function save(array &$data, array $options = array())
    {
        $document = new Document($data, $this);
        $save = $document->save($options);
        $data = $document->data;

        return $save;
    }
53598
public function getFormOptions($options = []) {
		if (empty($options) || !is_array($options)) {
			$options = [];
		}

		$optionsDefault = $this->_getOptionsForElem('form');
		$result = $optionsDefault + $options;

		return $result;
	}
1334671
public function createAdminMenu(array $options): ItemInterface
    {
        $menu = $this->factory->createItem('root');

        $event = new AdminMenuCollectionEvent($menu);
        $this->dispatcher->dispatch(AdminMenuCollectionEvent::NAME, $event);

        return $menu;
    }
630263
public function create($document, $options = null)
    {
        $this->assertProperties($document, ['_type'], 'create');
        return $this->createDocument($document, 'create', $options);
    }
399519
private function exportTableOptions(array $options)
    {
        $optionsStr = array();

        foreach($options as $name => $option) {
            if (is_array($option)) {
                $optionsStr[] = '"' . $name . '"={' . $this->exportTableOptions($option) . '}';
            } else {
                $optionsStr[] = '"' . $name . '"="' . (string) $option . '"';
            }
        }

        return implode(',', $optionsStr);
    }
1071404
public function options(array $options = null)
    {
        if (null === $options) {
            return $this->options;
        }

        $this->options = [];
        foreach($options as $option)
            $this->options[$option] = false;

        return $this;
    }