Property | Type | Description | |
---|---|---|---|
$lrs | Defines properties to be set by the constructor. | ||
$method | Defines properties to be set by the constructor. | ||
$params | Defines properties to be set by the constructor. |
Method | Description | |
---|---|---|
__construct ( ) | Constructs a new xAPI controller. | |
get ( ) | ||
selectMethod ( ) : mixed | Selects a method to be called. | |
setParameters ( ) | Get all of the input and files for the request and store them in params. |
Method | Description | |
---|---|---|
checkVersion ( ) | Checks the request header for correct xAPI version. | |
decodeValue ( $value ) | ||
optionalValue ( $name, $value, $type ) | ||
requiredValue ( $name, $value, $type ) | ||
setMethod ( ) | Sets the method (to support CORS). | |
validateValue ( $name, $value, $type ) | ||
validatedParam ( $type, $param, $default = null ) |
protected checkVersion ( ) |
public selectMethod ( ) : mixed | ||
return | mixed | Result of the method. |
public setParameters ( ) |