Documentation

Application

Table of Contents

Interfaces

IConstraint
Instantiations of implementations correspond to a set of acceptable PHP values.
ILengthModel
Interface for models for which an IRangeConstraint makes sense.
IModel
Parent interface for all type models.
IScalarModel
Empty interface to easily check for a scalar type model.
IEnumConstraint
Instantiations of implementations correspond to a set of acceptable PHP values.
INotNullConstraint
Represents any non-null value.
IRangeConstraint
Instantiations of implementations correspond to a set of acceptable PHP values.
IRegexConstraint
Instantiations of implementations correspond to a set of acceptable PHP values.
IStringConstraint
Instantiations of implementations correspond to a set of acceptable PHP values.
IUploadedImageConstraint
Instantiations of implementations correspond to a set of acceptable PHP values.
IArrayable
IDefaultCallable
Generates a value for a given field, if the value resulting from its form transformation is null.
IFormTransformer
Transforms the data submitted with a POST request from its PHP representation (parsedBody) to its representation in the app (formData).
IController
IRoutedController
IPageConf
IHttpException
IRepo
Retrieves persisted entities, with each implementation responsible for a specific entity type.
ITypeValidator
Ensures that the given app data is of the model's allowed types and satisfies other constraints of the model.
IConstraintViolation
ValueViolation

Classes

AppConf
Creates and validates a configuration given the path to the project folder.
ErrorControllerConf
CouldNotReadFileException
SettingNotFoundException
SubRouteCannotAddRoleConfException
UnauthorizedAttributeConfException
RouteDefParser
SlugModelFactory
UploadedImageModelFactory
UrlModelFactory
VarcharModelFactory
AbstractModel
ArrayModel
Model for data consisting of properties identified with a string key.
BoolModel
DataArrayModel
Default implementation of the ArrayModel abstract class.
DateTimeModel
EntityListModel
EntityModel
An ArrayModel where there must be a property identifying the entity amongst others entities of the same model, as well as the model among other models.
ForeignEntityModel
IntModel
ListModel
StringEnumModel
StringModel
EnumConstraint
NotNullConstraint
RangeConstraint
RegexConstraint
StringEnumConstraint
UploadedImageConstraint
DbEntityManager
InvalidDbDataException
NullDbDataNotAllowedException
AppList
Immutable list of heterogeneous data, guaranteed to have zero-indexed sequential property keys.
AppObject
Immutable array consisting of key-value pairs named properties. Keys are necessarily string, and values can be any data type.
AppPosIntArray
Immutable list of heterogeneous data, guaranteed to have integer property keys, but non-necessarily sequential.
UnexpectedPropertyType
CollectionFactory
Filename
Valid filename with a restrictive set of caracters allowed.
ImgFormat
ImmutableArray
Immutable array.
KeyName
Page
Slug
BaseUnexpectedValueException
Log
UnexpectedValueTypeException
FileService
ThumbnailWriter
FormConfFactory
FormFieldConf
Configuration for a form field accepting scalar data (data matched by a IScalarModel), containing information to display the field and convert the submitted data into app data.
NonExistingEnumCase
SlugDefaultCallable
ExtractionException
Thrown by a submittable when no value could be extracted from the request.
IllegalUserInputException
Thrown by a submittable when no value could be extracted from the request.
MissingInputException
Thrown when the submittable could not find any value from the request.
WrongCsrfException
Thrown by a submittable when no value could be extracted from the request.
FormFactory
Creates transformers for converting data received from a form submission into app data, based on its form configuration: a FormFieldConf or a dict of FormFieldConf (array<string, FormFieldConf>).
AbstractNamedTransformer
AbstractStringTransformer
ArrayTransformer
CheckboxTransformer
CsrfTransformer
DateTimeTransformer
ImgFileTransformer
IntTransformer
StringEnumTransformer
StringTransformer
ControllerIssue
RouteNotFoundIssue
RoutingParamIssue
AbstractPageConf
Configuration for a page providing access to a resource fetched from a repository.
EntPageConf
Configuration for a page providing access to a resource fetched from a repository.
HttpConf
RouteDef
Associates a page configuration or null to a consecutive set of HTTP path segments.
StaticPageConf
Configuration for a page providing access to a resource with a static title.
UnsupportedMethodException
PageEntTitleErr
PageFactory
HttpRequestHandler
EntPageTitleFormatter
InvalidRouteConfException
RootRouteWithDefaultControllerException
RouteNotFoundException
Route
Convenience class representing a RouteDefinition instantiation, i.e. a couple (RouteDef, path).
Router
CspNonce
Kernel
Provides static methods to initialize the Dependency Injection container, initialize and register the app configuration as a service, uses the specifed logger to initialize the Log class, and to set the error handler to turn any error, warning, or notice into an exception.
Profiler
Searchable
SearchEngine
SearchQuery
SessionManager
AbstractTypeValidator
Validator for app data.
ArrayValidator
BoolValidator
Validator for app data.
DateTimeValidator
Validator for app data.
IntValidator
Validator for app data.
ListValidator
Validator for app data.
RangeValidator
StringEnumValidator
Validator for app data.
StringValidator
Validator for app data.
ValidatorFactory
DictValueViolation
IndividualViolation
ListValueViolation
MissingItemViolation
ScalarValueViolation
TypeViolation

Enums

ExceptionCode
FormFieldType
ControllerIssueCode
RoutingParamIssueCode
RoutingError
FormatErr
ConstraintViolationCode
On this page

Search results