You are here

public function FrxAPI::setDocument in Forena Reports 8

Change to a specific document type.

Parameters

string $type: The document type you are trying to retrieve.

1 call to FrxAPI::setDocument()
DocumentManagerTest::testDocumentFactory in tests/src/Unit/DocumentManagerTest.php

File

src/FrxAPI.php, line 134
FrxAPI.incL General Forena Reporting Class

Class

FrxAPI
Implements FrxAPI Trait

Namespace

Drupal\forena

Code

public function setDocument($type = 'drupal') {
  DocManager::instance()
    ->setDocument($type);
}