Stud.IP  5.4
ResourceProperties Class Reference
Inheritance diagram for ResourceProperties:
RouteMap

Public Member Functions

 before ()
 
 getAllResourcePropertyDefinitions ()
 
 addResourcePropertyDefinition ()
 
 getResourcePropertyDefinition ($property_id)
 
 editResourcePropertyDefinition ($property_id)
 
 deleteResourcePropertyDefinition ($property_id)
 
- Public Member Functions inherited from RouteMap
 __construct ()
 
 init ($router, $route)
 
 paginated ($data, $total, $uri_params=[], $query_params=[])
 
 paginate ($uri_format, $total, $offset=null, $limit=null)
 
 collect ($data)
 
 status ($status)
 
 headers ($headers=[])
 
 body ($body)
 
 contentType ($mime_type, $params=[])
 
 error ($status, $body=null)
 
 etag ($value, $strong_etag=true, $new_resource=null)
 
 expires ($amount, $cache_control=[])
 
 cacheControl ($values)
 
 halt ()
 
 lastModified ($time)
 
 notFound ($body=null)
 
 redirect ($url, $args=null)
 
 sendFile ($_path, $opts=[])
 
 url ($addr, $url_params=null)
 
 urlf ($addr_f, $format_params, $url_params=null)
 
 getRoutes ($http_method=null)
 
 getResponse ()
 

Additional Inherited Members

- Protected Member Functions inherited from RouteMap
 extractConditions ($docblock, $conditions=[])
 
- Protected Attributes inherited from RouteMap
 $router
 
 $route
 
 $data = null
 
 $response
 
 $pagination = false
 
 $offset
 
 $limit
 

Detailed Description

This file contains API routes related to ResourceProperty objects.

Author
Moritz Strohm stroh.nosp@m.m@da.nosp@m.ta-qu.nosp@m.est..nosp@m.de
Since
4.5

Member Function Documentation

◆ addResourcePropertyDefinition()

addResourcePropertyDefinition ( )

Creates a new resource property definition.

Postcondition
/resources/add_property

◆ before()

before ( )

Validate access to each route.

◆ deleteResourcePropertyDefinition()

deleteResourcePropertyDefinition (   $property_id)

Deletes a resource property definition object.

/resources/property/:property_id

◆ editResourcePropertyDefinition()

editResourcePropertyDefinition (   $property_id)

Modifies a resource property definition.

/resources/property/:property_id

◆ getAllResourcePropertyDefinitions()

getAllResourcePropertyDefinitions ( )

Returns all resource property definitions.

/resources/properties

◆ getResourcePropertyDefinition()

getResourcePropertyDefinition (   $property_id)

Get a resource property definition object.

/resources/property/:property_id


The documentation for this class was generated from the following file: