Stud.IP  jlu_4.3 Revision 64286
ResourceProperties Class Reference
Inheritance diagram for ResourceProperties:
Inheritance graph
Collaboration diagram for ResourceProperties:
Collaboration graph

Public Member Functions

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

Additional Inherited Members

- Protected Member Functions inherited from RouteMap
 extractConditions ($docblock, $conditions=array())
 
- Protected Attributes inherited from RouteMap
 $pagination = false
 
 $offset
 
 $limit
 

Detailed Description

This class provides API routes related to ResourceProperty objects.

Member Function Documentation

◆ addResourcePropertyDefinition()

addResourcePropertyDefinition ( )

Creates a new resource property definition.

Postcondition
/resources/add_property
Here is the call graph for this function:

◆ deleteResourcePropertyDefinition()

deleteResourcePropertyDefinition (   $property_id = null)

Deletes a resource property definition object.

@delete /resources/property/:property_id

Here is the call graph for this function:

◆ editResourcePropertyDefinition()

editResourcePropertyDefinition (   $property_id = null)

Modifies a resource property definition.

@put /resources/property/:property_id

Here is the call graph for this function:

◆ getAllResourcePropertyDefinitions()

getAllResourcePropertyDefinitions ( )

Returns all resource property definitions.

@get /resources/properties

Here is the call graph for this function:

◆ getResourcePropertyDefinition()

getResourcePropertyDefinition (   $property_id = null)

Get a resource property definition object.

@get /resources/property/:property_id

Here is the call graph for this function:

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