PHP Class Tdt\Core\Definitions\KeywordController

Author: Jan Vansteenlandt ([email protected])
Inheritance: extends Tdt\Core\ApiController
Show file Open project: tdt/core

Public Methods

Method Description
__construct ( Tdt\Core\Repositories\Interfaces\DefinitionRepositoryInterface $definitions )
get ( $uri )
getKeywordList ( $definitions ) * GET an info document based on the uri provided
head ( $uri ) Return the headers of a call made to the uri given.

Private Methods

Method Description
getKeywords ( $uri = null ) * GET an info document based on the uri provided
makeResponse ( $data ) Return the response with the given data (formatted in json)

Method Details

__construct() public method

public __construct ( Tdt\Core\Repositories\Interfaces\DefinitionRepositoryInterface $definitions )
$definitions Tdt\Core\Repositories\Interfaces\DefinitionRepositoryInterface

get() public method

public get ( $uri )

getKeywordList() public static method

* GET an info document based on the uri provided
public static getKeywordList ( $definitions )

head() public method

Return the headers of a call made to the uri given.
public head ( $uri )