Reader augments reader model classes for the API.
- Class name: Reader
- Namespace: DieSchittigs\ContaoContentApiBundle
- Parent class: DieSchittigs\ContaoContentApiBundle\AugmentedContaoModel
public mixed $model = null
- Visibility: public
mixed DieSchittigs\ContaoContentApiBundle\Reader::__construct(string $model, string $url)
constructor.
- Visibility: public
- $model string - <p>Reader Model class (e.g. NewsModel)</p>
- $url string - <p>Current URL</p>
mixed DieSchittigs\ContaoContentApiBundle\Reader::urlToAlias(string $url)
Gets the alias from a URL.
- Visibility: private
- $url string - <p>URL to get the alias from</p>
mixed DieSchittigs\ContaoContentApiBundle\ContaoJsonSerializable::toJson()
- Visibility: public
- This method is defined by DieSchittigs\ContaoContentApiBundle\ContaoJsonSerializable
mixed DieSchittigs\ContaoContentApiBundle\AugmentedContaoModel::__get(string $property)
Get the value from the attached model.
- Visibility: public
- This method is defined by DieSchittigs\ContaoContentApiBundle\AugmentedContaoModel
- $property string - <p>key</p>
mixed DieSchittigs\ContaoContentApiBundle\AugmentedContaoModel::__set(string $property, mixed $value)
Set the value in the attached model.
- Visibility: public
- This method is defined by DieSchittigs\ContaoContentApiBundle\AugmentedContaoModel
- $property string - <p>key</p>
- $value mixed - <p>value</p>