Phpxform
Table of Contents
Interfaces
- InFileApi
- Inject FileApi into the input
- InNavigation
- Inject AdminNavigation into the input
- MultipleInput
- Interface for multiform input support
Classes
- Filters
- Filtering support in administration tables
- Synchronize
- Allows working and synchronization of records in two separate tables (public and testing)
- AdminBody
- Basic body for administration
- AdminBodyModule
- Body for administration with AdminModule
- AdminMenu
- Administration menu
- AdminNavigation
- Administration - navigation inside administration
- BasicBrowser
- Basic functions for file browser
- FileBrowser
- File browser with additional functions
- TinyBrowser
- File browser for TinyMCE
- OptionalException
- Custom exception for possible errors e.g. insufficient rights in administration / invalid access.
- InputSelectIcon
- Support for visualization selected icons in form input
- FormI18N
- Form for localization in separated table
- HandlerI18N
- Localization in separated table
- HandlerLang
- Administration - overall form / table controller
- HandlerLangColumn
- Localization in column extension
- UserRightsMultiForm
- Manages user rights for active modules
- AdminModule
- Administration - support functions for administration
- BlockHandler
- Administration Handler for BlockPicker
- Handler
- Administration - overall form / table controller
- PreviewHandler
- Administration Handler adding support for record preview
- Sections
- Access to navigation records for administrative forms
- UserSession
- Administration session with user rights
- Autoloader
- Simple autoloader PHP 7.1+
- Body
- Abstract core for html body with css and js functions
- CoreFactory
- Factory for initializing core singleton classes
- Html
- Support class for basic URL & HTML handing
- Menu
- Creates public page menu
- Paginator
- Simple pagination with numbers
- SlimPlate
- Bare bone templating system for text strings, based on Latte syntax Self-fixing >< conversion by HTML editors (TinyMCE) Support $VARIABLES, "VALUES", IF with one condition, ELSE and That's all Folks!
- WebBody
- Abstract core for public body
- Rss
- RSS channels
- Sitemap
- Sitemap body
- CheckIntegrity
- Check validity of links on page
- Debugger
- Simple debugger PHP 7.1+
- DebugException
- Support exception class for decision-making
- Logger
- Log action into database
- FileApi
- File APIs for browsing and interaction with files
- FileApiFtp
- File interaction throughout FTP !!! Do NOT use it - NOT SAFE !!!
- FileApiPhp
- File interaction throughout PHP
- Utils
- Support class for filename extension and unit conversion
- GDfallback
- Add (possibly) missing features from GD
- Image
- Abstract image processing class for subclasses based on GD or ImageMagick
- ImageGd
- Image processing class for GD or ImageMagick; @throws InvalidArgumentException
- ImageMagick
- using Imagick instead of GD
- Vector
- Support for reading image size from SVG
- Exporter
- Simple XLSX/ODS/HTML table exporter XLSX and ODS require ZipArchive class
- ExporterCsv
- Export to CSV file
- ExporterHtml
- Export to HTML file
- ExporterOds
- Export to Ods
- ExporterXlsx
- Export to Xlsx
- Sheet
- Sheet page in document
- Control
- Universal control interface for interaction with records
- FormControl
- Control for form editing
- FormTabControl
- Control for form editing
- FormTreeControl
- Form controller with the ability to delete subsequent records (using InputTree)
- TableControl
- Control for table view and actions
- TableTreeControl
- Correct table ordering for InputTree
- BasicForm
- Simple form for client forms
- CheckerMultiForm
- Displays multi-form as table
- DeleteForm
- Maintains state of a record in a column instead of removing it on deletion
- DeleteMultiForm
- Maintains state of a records in a column instead of removing them on deletion
- FileMultiForm
- Create forms from multiple file input
- ForeignForm
- Key is inside parent form
- Form
- Basic Form class for administration
- FormPairs
- Form class for saving data in mark=>value format
- FormSupport
- Additional universal functions for form
- GalleryMultiForm
- Adds gallery-like user interface to form
- InputForm
- Pseudo form - save data into input
- MultiForm
- Multiple Form class for administration
- PickerMultiForm
- Select specific form(s) from multiple options
- RefKeyForm
- Key is another column from parent form
- TableForm
- Displays form inside table row
- TableMultiForm
- Displays multi-form as table
- UniqueForm
- Make unique url
- Condition
- Input
- Library for work with Html form - core input class
- InputArea
- Input textarea
- InputCheck
- Input checkbox
- InputCode
- Input TEXT without HTML
- InputColor
- Color picker
- InputComment
- Dummy input for comments inside form
- InputComplete
- Input autocomplete (jqueryUI), require SEARCH url (JSON data)
- InputDate
- Input date
- InputDateTime
- Input datetime
- InputDrag
- Allows drag and drop in table
- InputEncrypt
- Encrypt data in database for sensitive information
- InputFile
- For InputFile - bound inputs_ PATH, EXT, SIZE must be after FILE - inserting data into inputs -> it would not be reflected when writing to database File extension is always converted to lower case
- InputForeign
- Input value is in other form
- InputHtml
- Input with TinyMCE editor
- InputImage
- MODE; HEIGHT/WIDTH -STD,MIN,MAX,CUT(100%); RATIO, QUALITY, COLOR, TYPE (jpg,gif,png) copy,resize,crop,fill
- InputKey
- Autoincrement key column
- InputKeyParent
- Input for parents key
- InputMail
- Input e-mail
- InputNumber
- Input Number
- InputPass
- Input password encryption with option for salt
- InputPosition
- Changeable numeric position in table
- InputRadio
- Input Radio
- InputRadioSingle
- One input Radio for whole multiform
- InputSelect
- Input Select
- InputSelectGroups
- Input Select with groups
- InputSet
- Input checkbox group - set in database
- InputTel
- Input Phone number
- InputText
- Input TEXT without HTML
- InputTime
- Input Time
- InputTree
- Input for tree structure
- InputUrl
- Input URL
- Rule
- Abstract rule class
- RuleDate
- Compare min/max DateTime
- RuleEqual
- Is value (not) equal to in array
- RuleJson
- Is input in correct json format
- RuleLength
- String length
- RuleMail
- Is value mail
- RuleNumber
- Is value number
- RulePattern
- Compare Pattern
- RulePrecision
- Abstract rule class
- RuleRange
- Compare min/max number
- RuleRequired
- Abstract rule class
- RuleTime
- Compare min/max time
- RuleUpload
- File upload checks (size, mime, ext)
- Plugin
- Functional extension for
- PluginDrag
- Move form with drag and drop
- PluginFill
- Functional extension for
- PluginGroups
- Functional extension for
- BasicSpamForm
- Hide submit button at page load, allow submission after timeout
- InputSpamBasic
- Basic antispam - add fake input for bots to fill
- InputSpamMath
- Input requires from visitor to add two numbers
- InputVideo
- Input for link on videos from Youtube or vimeo
- InputVideoFile
- Input for video upload with optional preview generation Require \FFMpeg\FFMpeg for file upload previews
- Translator
- Load localization form file or database 2 translation modes - through "Define" or Translation class with global __()
- MediaDbBrowser
- Abstract core for html body with css and js functions
- MediaDbEditor
- Abstract core for html body with css and js functions
- InputHtmlDb
- Input Html with mediaDb connection
- InputMediaDb
- Input for mediaDb
- MediaDb
- Media files database
- MediaDbGen
- MediaDb extension with editing support
- MediaDbHandler
- Administration handler for media database
- Navigation
- Public navigation
- Router
- Static class for initial routing
- UrlRewrite
- Simple support class for optional url redirect
- BackupDb
- Simple database export to sql
- BackupFile
- Simple file diff backup
- CacheUpload
- File upload cache
- FileCacheStorage
- File cache storage
- ScriptCache
- Script cache optionally merge source files into one
- SQL
- PDO Database connection
- SQLDbgStatement
- PDOStatement for debugger
- Table
- Database table abstraction
- FlashMessage
- One-time session flash messaging
- Mailer
- Simple Email templating. Uses the phpmailer for sending
- Tracer
- Simple user tracer can be used via javascript or/and php (fewer features)
Traits
- BlockPickerTrait
- Administration Handler extension for FormPicker
- AlertForm
- Universal confirmation alert form
Constants
- DIR_APP = \DIR_CORE . 'app/'
- DIR_CORE = \DIR_ROOT . 'phpxform/'
- DIR_ROOT = __DIR__ . '/'
- DIR_TEMP = \DIR_CORE . 'temp/'
- TEST = \true
Functions
- __() : string
- Allows localization everywhere
Constants
DIR_APP
public
string
DIR_APP
= \DIR_CORE . 'app/'
Directory for application files
DIR_CORE
public
string
DIR_CORE
= \DIR_ROOT . 'phpxform/'
Core directory
DIR_ROOT
public
string
DIR_ROOT
= __DIR__ . '/'
Root directory
DIR_TEMP
public
string
DIR_TEMP
= \DIR_CORE . 'temp/'
Directory for temporary files
TEST
public
bool
TEST
= \true
Security constraint
Functions
__()
Allows localization everywhere
__(string $singular[, mixed $plural = null ][, mixed $number = null ]) : string
Parameters
- $singular : string
- $plural : mixed = null
- $number : mixed = null