You are here

public function RestfulBase::setPath in RESTful 7

Set the path of the request.

Parameters

string $path:

2 calls to RestfulBase::setPath()
RestfulBase::options in plugins/restful/RestfulBase.php
Call resource using the OPTIONS http method.
RestfulBase::process in plugins/restful/RestfulBase.php
Entry point to process a request.

File

plugins/restful/RestfulBase.php, line 216
Contains RestfulBase.

Class

RestfulBase
Class \RestfulBase

Code

public function setPath($path = '') {
  $this->path = implode(',', array_unique(array_filter(explode(',', $path))));
}