Source API for the «Porte» project
Available interfaces in the «Porte» project
- PortePlugin
-
Interface which all plugins must extends.
Available classes in the «Porte» project
- Porte
-
Central class to the Porte Library with access to configuration, model definitions as well as connection resource.
- PorteAdapter
-
Adapter class called by Padrino when Porte is loaded inside Pop.
- PorteAssociations
-
Add "one-to-one", "one-to-many" and "many-to-many" associations.
- PorteAssociations_ManyToManyJoin
-
PorteAssociations_OneToManyBelongsTo
- PorteAssociations_ManyToManyListPersisted
-
PorteAssociations_ManyToManyListTransient This class implement a many-to-many strategy with a column storing list of foreign keys
- PorteAssociations_ManyToManyListTransient
-
PorteAssociations_ManyToManyListTransient
- PorteAssociations_OneToManyBelongsTo
-
PorteAssociations_OneToManyBelongsTo
- PorteAssociations_OneToManyHasMany
-
PorteAssociations_OneToManyHasMany
- PorteAssociations_OneToOneBelongsTo
-
Associations plugin class specific to one-to-one relations.
- PorteAssociations_OneToOneHasOne
-
Associations plugin class specific to one-to-one relations.
- PorteConfig
-
PorteConfig
- PorteConnection
-
Connection base class emulate some of the PDO methods and reproduce the same behavior unless specified otherwise.
- PorteDrivers_Mysql_Connection
-
Mysql connection implementation using persistant methods.
- PorteDrivers_Mysql_Statement
-
PorteResultMysql
- PorteDrivers_Mysqli_Connection
-
Mysqli connection implementation.
- PorteDrivers_Mysqli_Statement
-
PorteResultMysqli
- PorteDrivers_Sqlite_Connection
-
Sqlite connection implementation
- PorteDrivers_Sqlite_Statement
-
PorteResultMysql
- PorteDrivers_Sqlite3_Connection
-
Sqlite connection implementation
- PorteDrivers_Sqlite3_Statement
-
PorteResultMysql
- PorteEvents
-
Static methods used the manage and call events at the global level.
- PorteIterator
-
Represent a list of records by implementation of the PHP Iterator and Countable interfaces.
- PorteModel
-
Model configuration for a given type of record.
- PorteModels
-
Central class to store and manage all the models (instances of PorteModel).
- PorteModels_Json
-
Plugin to load models from a directory containing one Json file definition per model.
- PorteModels_Record
-
Plugin to load models from a property named "$config" present in classes extending PorteRecord.
- PortePlugins_Crypt
-
Plugin to store crypted content into the database.
- PortePlugins_CryptType
-
Property type representation crypted content.
- PortePlugins_Csv
-
Add CSV import and export support to records or list of records by registering new methods "fromCsv", "toCsv" and "fromCsvFile" to table instances.
- PortePlugins_DojoStore
-
PortePlugins_DojoStore
- PortePlugins_Gis
-
PortePlugins_Gis
- PortePlugins_Hierarchy
-
Plugin to add hierarchical functionnalities to record manipulation using the nested set model implementation.
- PortePlugins_HierarchyChildren
-
HierarchyChildren
- PortePlugins_HierarchyParent
-
HierarchyChildren
- PortePlugins_Index
-
Plugin used to add index to database table.
- PortePlugins_Json
-
Add json import and export support to records or list of records by registering two new method "fromJson" and "toJson" to each record.
- PortePlugins_Position
-
PortePlugins_Position
- PortePlugins_PositionType
-
PortePlugins_PositionType
- PortePlugins_Search
-
This plugin is a todo and is empty for now.
- PortePlugins_Temporal
-
Plugin to automatically add 2 new properties "creation_date" and "modification_date".
- PortePlugins_Validation
-
PortePlugins_Validation
- PorteRecord
-
Base class to wrap a database record.
- PorteRecordEvents
-
Methods used the manage and call events at record instance level.
- PorteTable
-
Methods used the manage a database table associated to a given model.
- PorteTables
-
Central class to store and manage all the tables (instances of PorteTable).
- PorteTypes_Base
-
Abstract class which type classes may extends to get functionnalities.
- PorteTypes_Binary
-
Type class to interact with "binary" content.
- PorteTypes_Boolean
-
Type class to interact with "boolean" properties.
- PorteTypes_Char
-
Type class to interact with "char" properties.
- PorteTypes_Date
-
Type class to interact with the "timestamp", "date", "datetime", "time" and "year" properties.
- PorteTypes_Double
-
Type class to interact with "double" properties.
- PorteTypes_Enum
-
Type class to interact with "enum" properties.
- PorteTypes_Float
-
Type class to interact with "float" properties.
- PorteTypes_Int
-
Type class to interact with "int" properties.
- PorteTypes_Json
-
Type class to interact with "json" properties.
- PorteTypes_Password
-
Type class to interact with "password" properties.
- PorteTypes_String
-
Type class to interact with "string" properties.
- PorteUtils
-
Static function commonly used accross the Porte library.
Available exceptions in the «Porte» project
- PorteException
-
Generic class extending the default PHP Exception class.
- PorteExceptions_NotFound
-
Exception thrown while attempting to load a record not present in the database.