class FolderDesignDocument implements DesignDocument (View source)

Methods

__construct($folderPath)

No description

getData()

Get design doc code.

Details

__construct($folderPath)

Parameters

$folderPath

getData()

Get design doc code.

Return the view (or general design doc) code, which should be committed to the database, which should be structured like:

array( "views" => array( "name" => array( "map" => "code", ["reduce" => "code"], ), ... ) )