Sites
class Sites extends ApiController (View source)
Traits
Trait ApplicationAwareTrait A trait used with ApplicationAwareInterface
Properties
protected Application | $app | from ApplicationAwareTrait | |
protected Request | $request | from ApiController | |
protected Service | $siteService |
Methods
JsonResponse
error($message, int $code = 400)
Returns an error response in the standard Concrete error response format.
from
ApiController
Item
transform($object, TransformerAbstract $transformer, string $resourceKey = null)
Transforms an object using the API transformer
from
ApiController
read($siteID)
No description
listSites()
No description
getDefault()
No description
Details
setApplication(Application $app)
Setter method for the application
protected JsonResponse
error($message, int $code = 400)
Returns an error response in the standard Concrete error response format.
Item
transform($object, TransformerAbstract $transformer, string $resourceKey = null)
Transforms an object using the API transformer
deleted(string $objectType, string $id)
No description
read($siteID)
No description
listSites()
No description
getDefault()
No description