Classes summary
MvcCore\Application |
|
MvcCore\Config |
|
MvcCore\Controller |
|
MvcCore\Controller\AutoInit |
|
MvcCore\Debug |
|
MvcCore\Environment |
|
MvcCore\Ext\Auth |
Responsibility - create authentication module by loaded (existing) classes. |
MvcCore\Ext\Auths\Basic |
Responsibility - managing login/logout forms, authentication requests and user instance.
- Basic extensible authentication module with sign in and sign out forms
and automatically initialized user instance stored in custom session namespace.
- Possibility to configure:
- submit routes to sign in and sign out
- submit success and submit error URL addresses
- form classes
- forms submit's controller class
- user instance class
- wrong credentials timeout
- custom password hash salt
- translator and more... |
MvcCore\Ext\Auths\Basics\Controller |
Responsibility - handle configured sign-in form and sign-out form submit requests. |
MvcCore\Ext\Auths\Basics\Role |
|
MvcCore\Ext\Auths\Basics\SignInForm |
Responsibility - initialize necessary sign in form fields and handle sign in form submit. |
MvcCore\Ext\Auths\Basics\SignOutForm |
Responsibility - initialize necessary sign out form fields and handle sign out form submit. |
MvcCore\Ext\Auths\Basics\User |
|
MvcCore\Ext\Auths\Basics\Users\Database |
Responsibility - simply and only load user instance from configurable database table structure. |
MvcCore\Ext\Auths\Basics\Users\SystemConfig |
Responsibility - simply and only load user instance from system config, ids by users list sequence. |
MvcCore\Ext\Auths\User |
|
MvcCore\Ext\Auths\Users\Database |
|
MvcCore\Ext\Auths\Users\SystemConfig |
|
MvcCore\Ext\Cache |
|
MvcCore\Ext\Caches\Redis |
|
MvcCore\Ext\Configs\Cached |
|
MvcCore\Ext\Configs\Yaml |
Responsibility - reading/writing config file(s),
detecting environment in system config.
- Config file(s) reading:
- Reading any config.yaml file by rel. path with optional env. suffix.
- Parsing and typing YAML data into stdClass|array by key types.
- Config file(s) writing:
- Dumping stdClass es and array s into YAML syntax string without any
other records for different environment (not like core config class).
- Storing serialized config data in single process.
- Environment management and detection by:
- comparing server and client IP, by value or regular expression.
- comparing server hostname or IP, by value or regular expression.
- checking system environment variable existence, value or by regular exp. |
MvcCore\Ext\Debugs\Tracy |
Responsibility - any development and logging messages and exceptions printing and logging by Tracy .
- Printing any variable in content body by Tracy .
- Printing any variable in Tracy debug bar.
- Caught exceptions printing by Tracy .
- Any variables and caught exceptions file logging by Tracy .
- Time printing by Tracy . |
MvcCore\Ext\Debugs\Tracys\AuthPanel |
Responsibility - dump user instance if user is authenticated. |
MvcCore\Ext\Debugs\Tracys\IncludePanel |
Responsibility - after all scripts are done, display all used PHP files in it's own Tracy debug bar.
- Generate for all used PHP files their file debug links.
- If any used file is used by tracy debug bar - mark this file in debug panel by different css colour. |
MvcCore\Ext\Debugs\Tracys\MvcCorePanel |
Responsibility - dump MvcCore framework main core objects - app, request, response, router and dispatched controller. |
MvcCore\Ext\Debugs\Tracys\RoutingPanel |
Responsibility - render used routes by application router and mark and render matched route with request params. |
MvcCore\Ext\Debugs\Tracys\SessionPanel |
Responsibility - dump all session records as MvcCore session namespaces or just session PHP values. |
MvcCore\Ext\Form |
Responsibility: Main form class with all <form> configuration, attributes,
field instances and it's validators. To create any HTML form,
you need to instantiate this class, configure an id, action
and more. |
MvcCore\Ext\Forms\Field |
Responsibility: init, pre-dispatch and render common form control,
it could be input , select or textarea. This
class is not possible to instantiate, you need to
extend this class to create own specific form control. |
MvcCore\Ext\Forms\Fields\Button |
Responsibility: init, pre-dispatch and render button based
on <button> HTML element with types button
and types submit and reset in extended classes.
Button has text OK by default and no validators. |
MvcCore\Ext\Forms\Fields\ButtonInput |
Responsibility: init, pre-dispatch and render button based
on <input type="button"> HTML element.
Button has text OK by default and no validators. |
MvcCore\Ext\Forms\Fields\Checkbox |
Responsibility: init, pre-dispatch and render <input> HTML element with
type checkbox . checkbox field has it's own validator
SafeString to clean string from base ASCII chars and
some control chars by default. But validator SafeString
doesn't prevent SQL injects and more. |
MvcCore\Ext\Forms\Fields\CheckboxGroup |
Responsibility: init, pre-dispatch and render group of input s
with type as checkbox , with configuration to
select minimum and maximum count of values and
required option.
CheckboxGroup has it's own validator to check if
submitted values are presented in configured by
default and it's own validator to check minimum or
maximum count of selected options. |
MvcCore\Ext\Forms\Fields\Color |
Responsibility: init, pre-dispatch and render <input> HTML element
with type attribute color to select hexadecimal
color with no transparency. Color field has it's own
validator for hexadecimal color without transparency
and leading slash char # by default. |
MvcCore\Ext\Forms\Fields\CountrySelect |
Responsibility: init, pre-dispatch and render <select> HTML element
as roll-out menu for single option select or as options
list for multiple selection with options as all existing
world states or only filtered world states.
CountrySelect field has it's own validator to check if
submitted value is presented in configured options by default. |
MvcCore\Ext\Forms\Fields\DataList |
Responsibility: init, pre-dispatch and render <datalist> HTML element
with given options, optionally translated. This field
has no possible value to submit. It just renders the
<datalist> with given options. |
MvcCore\Ext\Forms\Fields\Date |
Responsibility: init, pre-dispatch and render <input> HTML element
with types date and types datetime-local , time ,
week and month in extended classes. Date field and
it's extended fields have their own validator(s) to
check submitted value format/min/max/step and dangerous
characters in submitted date/time value(s). |
MvcCore\Ext\Forms\Fields\DateTime |
Responsibility: init, pre-dispatch and render <input> HTML element
with type datetime-local . DateTime field has it's
own validator to check format, min., max., step and
dangerous characters in submitted date value. |
MvcCore\Ext\Forms\Fields\Email |
Responsibility: init, pre-dispatch and render <input> HTML element with
type email . Email field has it's own validator to check
submitted email/emails format by default. |
MvcCore\Ext\Forms\Fields\File |
Responsibility: init, pre-dispatch and render <input> HTML element
with type file . File field has it's own validator
Files to check everything necessary for uploaded
files and check files by accept attribute rules by
magic bytes. |
MvcCore\Ext\Forms\Fields\Hidden |
Responsibility: init, pre-dispatch and render <input> HTML element
with type hidden . Hidden field has it's own validator
SafeString to clean string from base ASCII chars and
some control chars by default. But validator SafeString
doesn't prevent SQL injects and more. |
MvcCore\Ext\Forms\Fields\Image |
Responsibility: init, pre-dispatch and render submit button
based on <input> HTML element with type image . |
MvcCore\Ext\Forms\Fields\LocalizationSelect |
Responsibility: init, pre-dispatch and render <select> HTML element
as roll-out menu for single option select or as options
list for multiple selection with options as all existing
world localizations or only filtered world localizations.
LocalizationSelect field has it's own validator to check if
submitted value is presented in configured options by default. |
MvcCore\Ext\Forms\Fields\Month |
Responsibility: init, pre-dispatch and render <input> HTML element
with type month to select month number in year. Month
field has it's own validator to check submitted value
format/min/max/step and dangerous characters in
submitted month value. |
MvcCore\Ext\Forms\Fields\Number |
Responsibility: init, pre-dispatch and render <input> HTML element
with types number and type range in extended class.
Number field and it's extended fields have their own
validator(s) to parse and check submitted value by
min/max/step/pattern. This field always
return parsed float or NULL . |
MvcCore\Ext\Forms\Fields\Password |
Responsibility: init, pre-dispatch and render <input> HTML element
with type password . Password could have a Password
validator define (not defined by default) to check
submitted value for password strength rules.
But raw user password still could contain very dangerous
characters for XSS, SQL or any other attacks. Be careful!!!
It doesn't escape everything. It only check if configured
character groups are presented and how much and that's all. |
MvcCore\Ext\Forms\Fields\RadioGroup |
Responsibility: init, pre-dispatch and render <input type="radio"> HTML
element as radio buttons menu for single option selection.
RadioGroup field has it's own validator to check if
submitted value is presented in configured options by default. |
MvcCore\Ext\Forms\Fields\Range |
Responsibility: init, pre-dispatch and render <input> HTML element
with type range . Range field has it's own
validator(s) to parse and check submitted value by
min/max/step/pattern. This field always
return parsed float or NULL or for multiple
field it always return array of float s or empty array. |
MvcCore\Ext\Forms\Fields\ResetButton |
Responsibility: init, pre-dispatch and render <button type="reset">
with default text Reset and it's supporting JS code.
Button has no validator and no custom result state. |
MvcCore\Ext\Forms\Fields\ResetInput |
Responsibility: init, pre-dispatch and render <input type="reset">
with default text Reset and it's supporting JS code.
Input has no validator and no custom result state. |
MvcCore\Ext\Forms\Fields\Search |
Responsibility: init, pre-dispatch and render <input> HTML element with
type search . Search field has no default validator, only
validator SafeString from parent class Text . It replace
characters & " \' < > to & " ' < >
Se be careful if you want to search in database with
apostrophe quotas, you need to remove SafeString validator
or you need to replace back # to ' , but
every time - you have to use database escaping by \PDO::prepare() ! |
MvcCore\Ext\Forms\Fields\Select |
Responsibility: init, pre-dispatch and render <select> HTML element
as roll-out menu for single option select or as options
list for multiple selection. Select field has it's own
validator to check if submitted value is presented in
configured options by default. |
MvcCore\Ext\Forms\Fields\SubmitButton |
Responsibility: init, pre-dispatch and render <input type="submit">
with default text Submit and it's supporting JS code.
Button has it's custom result state configuration and
button has no validator. |
MvcCore\Ext\Forms\Fields\SubmitInput |
Responsibility: init, pre-dispatch and render <input type="submit">
with default text Submit and it's supporting JS code.
Input has it's custom result state configuration and
input has no validator. |
MvcCore\Ext\Forms\Fields\Tel |
Responsibility: init, pre-dispatch and render <input> HTML element with
type email . Tel field has it's own validator to check
raw submitted value only by preg_match("#[^0-9\+]#", '', $tel); . |
MvcCore\Ext\Forms\Fields\Text |
Responsibility: init, pre-dispatch and render <input> HTML element
with types text and types email , password ,
search , tel and url in extended class. Text
field and it's extended fields could have their own
validator(s) to check submitted value for
min length/max length/pattern and some of extended
classes also dangerous characters in submitted
text value(s). But it don't prevent SQL inject attacks
and more. |
MvcCore\Ext\Forms\Fields\Textarea |
Responsibility: init, pre-dispatch and render <textarea> HTML element.
Textarea field has it's own validator(s) to check
submitted value for min length/max length and validator
SafeString to remove base ASCII chars and escape dangerous
characters in submitted text value. But it don't prevent
SQL inject attacks and more. |
MvcCore\Ext\Forms\Fields\Time |
Responsibility: init, pre-dispatch and render <input> HTML element
with type time to select time in day. Time
field has it's own validator to check submitted value
format/min/max/step and dangerous characters in
submitted time value. |
MvcCore\Ext\Forms\Fields\Url |
Responsibility: init, pre-dispatch and render <input> HTML element with type
url . Url field has it's own validator to check raw submitted
value only by filter_var($rawSubmittedValue, FILTER_VALIDATE_URL); . |
MvcCore\Ext\Forms\Fields\Week |
Responsibility: init, pre-dispatch and render <input> HTML element
with type week to select week number in year. Week
field has it's own validator to check submitted value
format/min/max/step and dangerous characters in
submitted week value. |
MvcCore\Ext\Forms\FieldsGroup |
Responsibility: init, pre-dispatch and render group of common form controls,
mostly input controls. This class is not possible to
instantiate, you need to extend this class to create own
specific form control. |
MvcCore\Ext\Forms\Validator |
Responsibility: Base validator class with base methods implementations.
This class is not possible to instantiate, you need to extend
this class and define custom validation rules. |
MvcCore\Ext\Forms\Validators\Color |
Responsibility: Validate hexadecimal color with no transparency including
leading hash char # . |
MvcCore\Ext\Forms\Validators\CompanyIdEu |
Responsibility: Validate company ID for EU states by regular expression(s)
or by closure function(s).
- DO NOT USE ANY ADVANCED CONSTRUCTIONS for validations,
because there are lot of checking exceptions!
- Return from Validate() function safe submitted value or
NULL if there is not possible to return safe value. |
MvcCore\Ext\Forms\Validators\CompanyVatIdEu |
Responsibility: Validate company VAT ID for EU states by requesting VEIS EU
system by SOAP (or by GET if SOAP not implemented).
- This class adds dependence on your application -
APPLICATION HAS TO BE ONLINE when submitting your forms! |
MvcCore\Ext\Forms\Validators\CreditCard |
Responsibility: Validate well-formed credit card number from American Express,
Unionpay, Diners Club, Diners Club US, Discover, JCB, Laser,
Maestro, Mastercard, Solo, Visa and Mir.
Credit card contains several items of metadata, including
a hologram, account number, logo, expiration date, security
code and the card holder name. The algorithms for verifying
the combination of metadata are only known to the issuing
company, this validator is only for well-formed credit card
number. It also provides an ability to attach callbacks with
custom validations. |
MvcCore\Ext\Forms\Validators\Date |
Responsibility: Validate submitted date format, min., max., step and
remove dangerous characters. |
MvcCore\Ext\Forms\Validators\DateTime |
Responsibility: Validate submitted datetime format, min., max., step and
remove dangerous characters. |
MvcCore\Ext\Forms\Validators\Email |
Responsibility: Validate single email format or multiple emails formats,
if field has defined multiple boolean attribute. |
MvcCore\Ext\Forms\Validators\Files |
Responsibility: Validate everything necessary for uploaded files and check
files by accept attribute rules by magic bytes. |
MvcCore\Ext\Forms\Validators\Files\Validations\BombScanners\GzArchive |
|
MvcCore\Ext\Forms\Validators\Files\Validations\BombScanners\PngImage |
|
MvcCore\Ext\Forms\Validators\Files\Validations\BombScanners\RarArchive |
|
MvcCore\Ext\Forms\Validators\Files\Validations\BombScanners\ZipArchive |
|
MvcCore\Ext\Forms\Validators\FloatNumber |
Responsibility: Validate raw user input. Parse float value if possible by
Intl extension or try to determinate floating point
automatically and return float or NULL . |
MvcCore\Ext\Forms\Validators\Hex |
Responsibility: Validate if submitted characters representing a hexadecimal digit. |
MvcCore\Ext\Forms\Validators\Iban |
Responsibility: Validate if a submitted value is an IBAN number. IBAN is the
abbreviation for "International Bank Account Number". |
MvcCore\Ext\Forms\Validators\IntNumber |
Responsibility: Validate raw user input. Parse integer value if possible by
Intl extension or try to determinate floating point
automatically ant then parse to int and return int or NULL . |
MvcCore\Ext\Forms\Validators\Ip |
Responsibility: Validate if a submitted value is an IP address. It supports
the IPv4, IPv6 and IPvFeature definitions. |
MvcCore\Ext\Forms\Validators\MinMaxLength |
Responsibility: Validate minimum or maximum characters length in submitted
value by configured field minlength and maxlength HTML
attributes. To measure characters length in submitted value,
validator uses multi-byte string function mb_strlen() . |
MvcCore\Ext\Forms\Validators\MinMaxOptions |
Responsibility: Validate minimum or maximum selected options count in
submitted value by configured field setters. |
MvcCore\Ext\Forms\Validators\Month |
Responsibility: Validate submitted month format, min., max., step and
remove dangerous characters. |
MvcCore\Ext\Forms\Validators\Number |
Responsibility: Validate raw user input. Parse float value if possible by
Intl extension or try to determinate floating point
automatically and return float or NULL . |
MvcCore\Ext\Forms\Validators\Password |
Responsibility: Validate raw user password by configured password strength
rules. Password still could contain very dangerous
characters for XSS, SQL or any other attacks. Be careful!!!
This doesn't escape everything. It only check if configured
character groups are presented and how much and that's all. |
MvcCore\Ext\Forms\Validators\Pattern |
Responsibility: Validate submitted value by regular expression from
configured pattern HTML attribute. |
MvcCore\Ext\Forms\Validators\Range |
Responsibility: Validate numeric raw user input. Parse numeric value or
values by locale conventions and check minimum, maximum and
step if necessary. |
MvcCore\Ext\Forms\Validators\SafeString |
Responsibility: Validate raw user input as "safe string" to display it in
response. Remove from submitted value base ASCII characters
from 0 to 31 included (first column) and special characters:
& " ' < > | = \ % .
THIS VALIDATOR DOESN'T MEAN SAFE VALUE TO PREVENT SQL INJECTS!
To prevent sql injects - use \PDO::prepare(); and \PDO::execute() . |
MvcCore\Ext\Forms\Validators\Tel |
Responsibility: Validate phone number only by removing all other characters
than digits and plus. To validate phone number really deeply
by local conventions, use Zend validator instead. |
MvcCore\Ext\Forms\Validators\Time |
Responsibility: Validate submitted day time format, min., max., step and
remove dangerous characters. |
MvcCore\Ext\Forms\Validators\Url |
Responsibility: Validate URI string by PHP:
filter_var($rawSubmittedValue, FILTER_VALIDATE_URL);
THIS VALIDATOR DOESN'T MEAN SAFE VALUE TO PREVENT SQL INJECTS!
To prevent sql injects - use \PDO::prepare();and \PDO::execute()`. |
MvcCore\Ext\Forms\Validators\ValueInOptions |
Responsibility: Validate if submitted string(s) are presented in options keys. |
MvcCore\Ext\Forms\Validators\Week |
Responsibility: Validate submitted week format, min., max., step and
remove dangerous characters. |
MvcCore\Ext\Forms\Validators\ZipCode |
Responsibility: Validate ZIP code by specific locale rules. |
MvcCore\Ext\Forms\View |
Responsibility: create and extended MvcCore view instance to render form or
form field with custom view template. This view contains built-in properties:
- view - Containing parent controller view.
- form - Containing rendered form instance when form or field is rendered.
- field - Containing rendered field instance when field is rendered.
This view also contains many built-in methods to render specific form parts:
- RenderBegin() - Renders opening <form> tag with all configured
attributes.
- RenderErrors() - Renders translated form errors.
- RenderContent() - Render all configured form fields from
$this->form->GetFields() array by calling Render()
method on every field instance.
- RenderEnd() - Renders opening <form> tag and configured form
field's supporting js/css files.
- static Format() |
MvcCore\Ext\Models\Db\Attrs\Column |
|
MvcCore\Ext\Models\Db\Attrs\Connection |
|
MvcCore\Ext\Models\Db\Attrs\Format |
|
MvcCore\Ext\Models\Db\Attrs\KeyPrimary |
|
MvcCore\Ext\Models\Db\Attrs\KeyUnique |
|
MvcCore\Ext\Models\Db\Attrs\Table |
|
MvcCore\Ext\Models\Db\Connection |
|
MvcCore\Ext\Models\Db\Models\MySql |
Responsibility - static methods for connections, configuration
and for active record properties manipulation.
- Database \PDO connecting by config settings.
- Reading db section configuration(s) from system config.ini file.
- Resource class with SQL queries localization, instancing and caching.
- Data methods for manipulating properties based on active record pattern.
- Meta data about properties parsing and caching.
- Magic methods handling. |
MvcCore\Ext\Models\Db\Models\PgSql |
Responsibility - static methods for connections, configuration
and for active record properties manipulation.
- Database \PDO connecting by config settings.
- Reading db section configuration(s) from system config.ini file.
- Resource class with SQL queries localization, instancing and caching.
- Data methods for manipulating properties based on active record pattern.
- Meta data about properties parsing and caching.
- Magic methods handling. |
MvcCore\Ext\Models\Db\Models\Resource |
|
MvcCore\Ext\Models\Db\Models\SQLite |
Responsibility - static methods for connections, configuration
and for active record properties manipulation.
- Database \PDO connecting by config settings.
- Reading db section configuration(s) from system config.ini file.
- Resource class with SQL queries localization, instancing and caching.
- Data methods for manipulating properties based on active record pattern.
- Meta data about properties parsing and caching.
- Magic methods handling. |
MvcCore\Ext\Models\Db\Models\SqlSrv |
Responsibility - static methods for connections, configuration
and for active record properties manipulation.
- Database \PDO connecting by config settings.
- Reading db section configuration(s) from system config.ini file.
- Resource class with SQL queries localization, instancing and caching.
- Data methods for manipulating properties based on active record pattern.
- Meta data about properties parsing and caching.
- Magic methods handling. |
MvcCore\Ext\Models\Db\Providers\Connections\MySql |
|
MvcCore\Ext\Models\Db\Providers\Connections\PgSql |
|
MvcCore\Ext\Models\Db\Providers\Connections\SQLite |
|
MvcCore\Ext\Models\Db\Providers\Connections\SqlSrv |
|
MvcCore\Ext\Models\Db\Providers\Resource |
|
MvcCore\Ext\Models\Db\Providers\Resources\MySql |
|
MvcCore\Ext\Models\Db\Providers\Resources\PgSql |
|
MvcCore\Ext\Models\Db\Providers\Resources\SQLite |
|
MvcCore\Ext\Models\Db\Providers\Resources\SqlSrv |
|
MvcCore\Ext\Models\Db\Reader |
|
MvcCore\Ext\Models\Db\Readers\Execution |
|
MvcCore\Ext\Models\Db\Readers\Multiple |
|
MvcCore\Ext\Models\Db\Readers\Single |
|
MvcCore\Ext\Models\Db\Readers\Stream |
|
MvcCore\Ext\Models\Db\Readers\Streams\Iterator |
|
MvcCore\Ext\Models\Db\Statement |
|
MvcCore\Ext\Models\Model |
Responsibility - static methods for connections, configuration
and for active record properties manipulation.
- Database \PDO connecting by config settings.
- Reading db section configuration(s) from system config.ini file.
- Resource class with SQL queries localization, instancing and caching.
- Data methods for manipulating properties based on active record pattern.
- Meta data about properties parsing and caching.
- Magic methods handling. |
MvcCore\Ext\Routers\Localization |
Responsibility - recognize localization from URL or from http header or
session and set up request object, complete automatically
rewritten URL with remembered localization version. Redirect
to proper localization by configuration. Than route request
like parent class does. Generate URL addresses with prefixed
localization for localized routes or add only localization
into query string where necessary. |
MvcCore\Ext\Routers\Localizations\Route |
Responsibility - describing request(s) to match and reversely build URL
addresses for different languages or for different languages and localizations.
- Describing request to match and target it (read more about properties),
for all languages in the same or in different form.
- Matching request by given request object, see \MvcCore\Route::Matches()
by localization specific matching rules and default params and constraints.
- Completing URL address by given params array, see \MvcCore\Route::Url() ,
by localization specific reverse patterns and default params. |
MvcCore\Ext\Routers\Media |
Responsibility - recognize media site version from URL or user agent or
session and set up request object, complete automatically
rewritten URL with remembered media site version. Redirect
to proper media site version by configuration.Than route
request like parent class does. Generate URL addresses with
prefixed media site version for recognized special devices
or add only media site version into query string if necessary. |
MvcCore\Ext\Routers\MediaAndLocalization |
Responsibility - recognize media site version and localization from URL or
user agent or session and set up request object, complete
automatically rewritten URL with remembered media site
version and localization. Redirect to proper media site
version or to localization by configuration. Than route
request like parent class does. Generate URL addresses with
prefixed media site version and with prefixed localization
for recognized special devices and for localized routes or
add only media site version or localization into query
string if necessary. |
MvcCore\Ext\Routers\Module |
Responsibilities - recognize media site version and localization from URL or user agent
or session and set up request object, complete automatically rewritten
URL with remembered media site version and localization. Redirect
to proper media site version or localization by configuration.
Than route request like parent class does. |
MvcCore\Ext\Routers\ModuleLocalization |
Responsibilities - recognize media site version and localization from URL or user agent
or session and set up request object, complete automatically rewritten
URL with remembered media site version and localization. Redirect
to proper media site version or localization by configuration.
Than route request like parent class does. |
MvcCore\Ext\Routers\ModuleMedia |
Responsibilities - recognize media site version and localization from URL or user agent
or session and set up request object, complete automatically rewritten
URL with remembered media site version and localization. Redirect
to proper media site version or localization by configuration.
Than route request like parent class does. |
MvcCore\Ext\Routers\ModuleMediaAndLocalization |
Responsibilities - recognize media site version and localization from URL or user agent
or session and set up request object, complete automatically rewritten
URL with remembered media site version and localization. Redirect
to proper media site version or localization by configuration.
Than route request like parent class does. |
MvcCore\Ext\Routers\Modules\Route |
Responsibility - describing request(s) to match and reversely build URL addresses.
- Describing request scheme, domain and base path part and target application
module, optionally to define allowed localizations or allowed media versions.
- Matching request by given request object, see \MvcCore\Route::Matches() .
- Completing URL address scheme, domain and base path part by given params
array, see \MvcCore\Route::Url() . |
MvcCore\Ext\Tools\Image |
|
MvcCore\Ext\Tools\Images\Gd |
|
MvcCore\Ext\Tools\Images\Gds\ApplyMask |
|
MvcCore\Ext\Tools\Images\Gds\RoundCorners |
|
MvcCore\Ext\Tools\Images\Gds\UnsharpMask |
|
MvcCore\Ext\Tools\Images\Imagick |
|
MvcCore\Ext\Tools\Locale |
Responsibility - properly set and get system locale settings by PHP setlocale(); across any system platform.
- Set system locale settings by given category, lang code, territory code, encoding (and euro sign).
- Get system locale settings by given category parsed into \stdClass object with all info above. |
MvcCore\Ext\Tools\Locales\FloatParser |
Responsibility: try to parse floating point number from raw user input string
by locale conventions by Intl extension or by automatic
floating point detection (which looks more successful).
If there is not possible to get float value, return NULL . |
MvcCore\Ext\Tools\MimeTypesExtensions |
Responsibility - return extension(s) by mimetype or mimetype(s) by extension. |
MvcCore\Ext\Views\Helpers\AbstractHelper |
Responsibility - better view helper setup.
- Every time, when there is necessary to create view helper, there is called
\MvcCore\Ext\Views\Helpers\IHelper::GetInstance(); method in \MvcCore\View .
All view helpers are stored inside \MvcCore\View and they are created only once.
But if you need to configure view helper anytime before, you can use this method
for singleton instancing to configure anything statically anytime before.
- Every time, when currently rendered view object is changed (action view, layout view,
sub-controller view...), there is called \MvcCore\Ext\Views\Helpers\IHelper::SetView($view);
method giving currently rendered view object. From this object, you can get properties
for better view helper processing like application object, controller, request or response object. |
MvcCore\Ext\Views\Helpers\Assets |
|
MvcCore\Ext\Views\Helpers\CssHelper |
|
MvcCore\Ext\Views\Helpers\DataUrlHelper |
Responsibility - get any file content by given relative or absolute path in data URL format: data:image/png;base64,iVBOR.. .
- Path could be relative from currently rendered view,
relative from application root or absolute path to file. |
MvcCore\Ext\Views\Helpers\FormatDateHelper |
Responsibility - format given date by Intl extension or by strftime() as fallback.
- Possibility to configure Intl datetime formatter default arguments.
- Possibility to configure format mask used by PHP strftime(); for fallback .
- System locale settings for fallback conversion automatically configured by request language and request locale.
- Fallback result string always returned in response encoding, in UTF-8 by default. |
MvcCore\Ext\Views\Helpers\FormatMoneyHelper |
Responsibility - format money by Intl extension or by locale formatting conventions or by explicit or default arguments.
- Formatting processed by Intl extension if installed or by \number_format() and \localeconv() fallback.
- Possibility to define default decimal points value to not define it every time using FormatMoney() call.
- Possibility to define default currency value to not define it every time using FormatMoney() call.
- Possibility to define argument to create Intl money formatter instance in every call or globally by default setters in parent class.
- Possibility to define any argument for number_format() and \localeconv() fallback in every call or globally by default setters in parent class.
- If there is used formatting fallback and no locale formatting conventions are defined, system locale settings is automatically
configured by request language and request locale and by system locale settings are defined locale formatting conventions.
- Fallback result string always returned in response encoding, in UTF-8 by default. |
MvcCore\Ext\Views\Helpers\FormatNumberHelper |
Responsibility - format number by explicitly given arguments or by default configured arguments.
- Formatting processed by Intl extension if installed or by \number_format() and \localeconv() fallback.
- Possibility to define default decimal points value to not define it every time using FormatNumber() call.
- Possibility to define any argument to create Intl number formatter instance in every call or globally by default setters.
- Possibility to define any argument for number_format() and \localeconv() fallback in every call or globally by default setters.
- If there is used formatting fallback and no locale formatting conventions are defined, system locale settings is automatically
configured by request language and request locale and by system locale settings are defined locale formatting conventions.
- Fallback result string always returned in response encoding, in UTF-8 by default. |
MvcCore\Ext\Views\Helpers\InternationalizedHelper |
Responsibility - abstract class to process date, number or money formatting by Intl extension or by locale formatting conventions.
- Formatting processed by Intl extension if installed or (automatically) configured system locale settings.
- System locale settings automatically configured by request language and request locale.
- Encoding result string to always return it in response encoding, in UTF-8 by default. |
MvcCore\Ext\Views\Helpers\JsHelper |
|
MvcCore\Ext\Views\Helpers\LineBreaksHelper |
Responsibility - given text content processing to escape whitespace before/after selected words.
- Single syllable conjunctions to escape whitespace after (configurable).
- Common language shortcuts containing whitespaces to escape whitespace inside (configurable).
- Units to escape whitespace after number and before unit (configurable). |
MvcCore\Ext\Views\Helpers\TruncateHelper |
Responsibility - truncate plain text or text with html tags to max. chars.
- No html tags are truncated, only text content in html code is truncated.
- Possibility to setup custom chars for three dots,
html entity … by default, for plain text ... by default.
- Possibility to set default truncating method, if third param to define is not set. |
MvcCore\Ext\Views\Helpers\WriteByJsHelper |
Responsibility - prevent sensitive content against spam bots and convert content into JS <script>document.write(String.fromCharCode(...)); .
- All characters in given string has to be in UTF-8 encoding.
- Every character, text content or html tag, doesn't matter, is converted to UTF-8
index and all indexes are placed into <script>document.write(String.fromCharCode(...));</script>
to print original html or text content by javascript to be visible for Googlebot. |
MvcCore\Model |
|
MvcCore\Request |
|
MvcCore\Response |
|
MvcCore\Route |
|
MvcCore\Router |
|
MvcCore\Session |
|
MvcCore\Tool |
|
MvcCore\View |
|
Interfaces summary
MvcCore\Application\IConstants |
|
MvcCore\Controller\IConstants |
|
MvcCore\Debug\IConstants |
|
MvcCore\Environment\IConstants |
|
MvcCore\Ext\Auths\Basics\IController |
Responsibility - handle configured sign-in form and sign-out form submit requests. |
MvcCore\Ext\Auths\Basics\IDatabaseUser |
Responsibility - simple class to only load user instance from configurable database table structure. |
MvcCore\Ext\Auths\Basics\IForm |
Responsibility - base authentication sign-in/sign-out form class specification. |
MvcCore\Ext\Auths\Basics\IRole |
Responsibility - base role model class. |
MvcCore\Ext\Auths\Basics\IUser |
Responsibility - base user model class. |
MvcCore\Ext\Auths\IBasic |
|
MvcCore\Ext\Form\IConstants |
|
MvcCore\Ext\Forms\Fields\IAlwaysValidate |
Responsibility: always proces defined validators, also for NULL value inside params.
Interface for classes:
- \MvcCore\Ext\Forms\Fields\File |
MvcCore\Ext\Forms\Fields\IChecked |
Responsibility: define getters and setters for field property checked
and method GetCheckedByValue() to automatically get
checked boolean from any field value.
Interface for classes:
- \MvcCore\Ext\Forms\Fields\Checkbox |
MvcCore\Ext\Forms\Fields\IDataList |
Responsibility: define getters and setters for HTML attribute list ,
where has to be string targeting to <datalist> id
attribute value.
Interface for classes:
- \MvcCore\Ext\Forms\Fields\Color
- \MvcCore\Ext\Forms\Fields\Date
- \MvcCore\Ext\Forms\Fields\DateTime
- \MvcCore\Ext\Forms\Fields\Month
- \MvcCore\Ext\Forms\Fields\Time
- \MvcCore\Ext\Forms\Fields\Week
- \MvcCore\Ext\Forms\Fields\Number
- \MvcCore\Ext\Forms\Fields\Range
- \MvcCore\Ext\Forms\Fields\Text
- \MvcCore\Ext\Forms\Fields\Email
- \MvcCore\Ext\Forms\Fields\Password
- \MvcCore\Ext\Forms\Fields\Search
- \MvcCore\Ext\Forms\Fields\Tel
- \MvcCore\Ext\Forms\Fields\Url |
MvcCore\Ext\Forms\Fields\IFile |
Responsibility: define getters and setters for field properties: accept ,
capture , allowedFileNameChars , minCount , maxCount ,
minSize and maxSize .
Interface for classes:
- \MvcCore\Ext\Forms\Fields\File
- \MvcCore\Ext\Forms\Validators\Files |
MvcCore\Ext\Forms\Fields\IFormat |
Responsibility: define getters and setters for field property format .
Interface for classes:
- \MvcCore\Ext\Forms\Fields\Date
- \MvcCore\Ext\Forms\Fields\DateTime
- \MvcCore\Ext\Forms\Fields\Month
- \MvcCore\Ext\Forms\Fields\Time
- \MvcCore\Ext\Forms\Fields\Week
- \MvcCore\Ext\Forms\Validators\Date |
MvcCore\Ext\Forms\Fields\ILabel |
Responsibility: define getters and setters for field label
properties: label , labelSide and labelAttrs .
Interface for classes:
- \MvcCore\Ext\Forms\Field
- \MvcCore\Ext\Forms\Field\Rendering
- \MvcCore\Ext\Forms\Fields\Color
- \MvcCore\Ext\Forms\Fields\Date
- \MvcCore\Ext\Forms\Fields\DateTime
- \MvcCore\Ext\Forms\Fields\Month
- \MvcCore\Ext\Forms\Fields\Time
- \MvcCore\Ext\Forms\Fields\Week
- \MvcCore\Ext\Forms\Fields\File
- \MvcCore\Ext\Forms\Fields\Checkbox
- \MvcCore\Ext\Forms\Fields\Number
- \MvcCore\Ext\Forms\Fields\Range
- \MvcCore\Ext\Forms\Fields\ResetInput
- \MvcCore\Ext\Forms\Fields\Select
- \MvcCore\Ext\Forms\Fields\CountrySelect
- \MvcCore\Ext\Forms\Fields\Text
- \MvcCore\Ext\Forms\Fields\Email
- \MvcCore\Ext\Forms\Fields\Password
- \MvcCore\Ext\Forms\Fields\Search
- \MvcCore\Ext\Forms\Fields\Tel
- \MvcCore\Ext\Forms\Fields\Url
- \MvcCore\Ext\Forms\Fields\Textarea
- \MvcCore\Ext\Forms\FieldsGroup
- \MvcCore\Ext\Forms\CheckboxGroup
- \MvcCore\Ext\Forms\RadioGroup |
MvcCore\Ext\Forms\Fields\IMinMaxLength |
Responsibility: define getters and setters for field
properties: minLength and maxLength .
Interface for classes:
- \MvcCore\Ext\Forms\Fields\Text
- \MvcCore\Ext\Forms\Fields\Email
- \MvcCore\Ext\Forms\Fields\Password
- \MvcCore\Ext\Forms\Fields\Search
- \MvcCore\Ext\Forms\Fields\Tel
- \MvcCore\Ext\Forms\Fields\Url
- \MvcCore\Ext\Forms\Fields\Textarea
- \MvcCore\Ext\Forms\Validators\MinMaxLength |
MvcCore\Ext\Forms\Fields\IMinMaxOptions |
Responsibility: define getters and setters for field properties:
minOptions , maxOptions , minOptionsBubbleMessage
and maxOptionsBubbleMessage .
Interface for classes:
- \MvcCore\Ext\Forms\Fields\Select
- \MvcCore\Ext\Forms\Fields\CountrySelect
- \MvcCore\Ext\Forms\CheckboxGroup
- \MvcCore\Ext\Forms\Validators\MinMaxOptions |
MvcCore\Ext\Forms\Fields\IMinMaxStepDates |
Responsibility: define getters and setters for field properties: min ,
max and step , for fields with type date and extended
field types from date type.
Interface for classes:
- \MvcCore\Ext\Forms\Fields\Date
- \MvcCore\Ext\Forms\Fields\DateTime
- \MvcCore\Ext\Forms\Fields\Month
- \MvcCore\Ext\Forms\Fields\Time
- \MvcCore\Ext\Forms\Fields\Week
- \MvcCore\Ext\Forms\Validators\Date |
MvcCore\Ext\Forms\Fields\IMinMaxStepNumbers |
Responsibility: define getters and setters for field properties: minOptions ,
maxOptions , minOptionsBubbleMessage and maxOptionsBubbleMessage .
Interface for classes:
- \MvcCore\Ext\Forms\Fields\Number
- \MvcCore\Ext\Forms\Fields\Range
- \MvcCore\Ext\Forms\Validators\Number |
MvcCore\Ext\Forms\Fields\IMultiple |
Responsibility: define getters and setters for field property multiple .
Interface for classes:
- \MvcCore\Ext\Forms\Fields\Email
- \MvcCore\Ext\Forms\Fields\File
- \MvcCore\Ext\Forms\Fields\Range
- \MvcCore\Ext\Forms\Fields\Select
- \MvcCore\Ext\Forms\Fields\CountrySelect
- \MvcCore\Ext\Forms\Validators\Email
- \MvcCore\Ext\Forms\Validators\Files
- \MvcCore\Ext\Forms\Validators\Range
- \MvcCore\Ext\Forms\Validators\ValueInOptions |
MvcCore\Ext\Forms\Fields\IOptions |
Responsibility: define getters and setters for field property options .
Interface for classes:
- \MvcCore\Ext\Forms\Fields\DataList
- \MvcCore\Ext\Forms\Fields\Select
- \MvcCore\Ext\Forms\Fields\CountrySelect
- \MvcCore\Ext\Forms\FieldsGroup
- \MvcCore\Ext\Forms\CheckboxGroup
- \MvcCore\Ext\Forms\RadioGroup
- \MvcCore\Ext\Forms\Validators\ValueInOptions |
MvcCore\Ext\Forms\Fields\IPattern |
Responsibility: define getters and setters for field property pattern .
Interface for classes:
- \MvcCore\Ext\Forms\Fields\Number
- \MvcCore\Ext\Forms\Fields\Range
- \MvcCore\Ext\Forms\Fields\Text
- \MvcCore\Ext\Forms\Fields\Email
- \MvcCore\Ext\Forms\Fields\Password
- \MvcCore\Ext\Forms\Fields\Search
- \MvcCore\Ext\Forms\Fields\Tel
- \MvcCore\Ext\Forms\Fields\Url
- \MvcCore\Ext\Forms\Validators\Pattern |
MvcCore\Ext\Forms\Fields\ISubmit |
Responsibility: define getter and setter for property customResultState (int )
to have custom submit result state, for all types of submit
buttons and inputs.
Interface for classes:
- \MvcCore\Ext\Form
- \MvcCore\Ext\Form\FieldMethods
- \MvcCore\Ext\Form\Submitting
- \MvcCore\Ext\Forms\Fields\Image
- \MvcCore\Ext\Forms\Fields\SubmitButton
- \MvcCore\Ext\Forms\Fields\SubmitInput |
MvcCore\Ext\Forms\Fields\IVisibleField |
Responsibility: define getters and setters for properties/attributes:
accessKey , autoFocus , disabled , readOnly ,
required and tabIndex .
Interface for all field classes:
- \MvcCore\Ext\Forms\Field
- \MvcCore\Ext\Forms\Field\Rendering
- \MvcCore\Ext\Forms\Fields\Button
- \MvcCore\Ext\Forms\Fields\SubmitButton
- \MvcCore\Ext\Forms\Fields\ResetButton
- \MvcCore\Ext\Forms\Fields\Color
- \MvcCore\Ext\Forms\Fields\Date
- \MvcCore\Ext\Forms\Fields\DateTime
- \MvcCore\Ext\Forms\Fields\Month
- \MvcCore\Ext\Forms\Fields\Time
- \MvcCore\Ext\Forms\Fields\Week
- \MvcCore\Ext\Forms\Fields\File
- \MvcCore\Ext\Forms\Fields\Checkbox
- \MvcCore\Ext\Forms\Fields\Image
- \MvcCore\Ext\Forms\Fields\Number
- \MvcCore\Ext\Forms\Fields\Range
- \MvcCore\Ext\Forms\Fields\ResetInput
- \MvcCore\Ext\Forms\Fields\Select
- \MvcCore\Ext\Forms\Fields\CountrySelect
- \MvcCore\Ext\Forms\Fields\SubmitInput
- \MvcCore\Ext\Forms\Fields\Text
- \MvcCore\Ext\Forms\Fields\Email
- \MvcCore\Ext\Forms\Fields\Password
- \MvcCore\Ext\Forms\Fields\Search
- \MvcCore\Ext\Forms\Fields\Tel
- \MvcCore\Ext\Forms\Fields\Url
- \MvcCore\Ext\Forms\Fields\Textarea
- \MvcCore\Ext\Forms\FieldsGroup
- \MvcCore\Ext\Forms\CheckboxGroup
- \MvcCore\Ext\Forms\RadioGroup |
MvcCore\Ext\Forms\IError |
|
MvcCore\Ext\Forms\IField |
|
MvcCore\Ext\Forms\IFieldsGroup |
|
MvcCore\Ext\Forms\IValidator |
|
MvcCore\Ext\Forms\IView |
|
MvcCore\Ext\Forms\Validators\Files\Validations\IBombScanner |
|
MvcCore\Ext\Forms\Validators\IFiles |
Responsibility: Validate everything necessary for uploaded files and check
files by accept attribute rules by magic bytes. |
MvcCore\Ext\ICache |
|
MvcCore\Ext\IForm |
|
MvcCore\Ext\Models\Db\IConnection |
|
MvcCore\Ext\Models\Db\IModel |
|
MvcCore\Ext\Models\Db\IReader |
|
MvcCore\Ext\Models\Db\IStatement |
|
MvcCore\Ext\Models\Db\Model\IConstants |
|
MvcCore\Ext\Models\Db\Models\MySqls\IConstants |
|
MvcCore\Ext\Models\Db\Models\PgSqls\IConstants |
|
MvcCore\Ext\Models\Db\Models\SqlSrvs\IConstants |
|
MvcCore\Ext\Models\Db\Readers\IExecution |
|
MvcCore\Ext\Models\Db\Readers\IMultiple |
|
MvcCore\Ext\Models\Db\Readers\ISingle |
|
MvcCore\Ext\Models\Db\Readers\IStream |
|
MvcCore\Ext\Models\Db\Readers\Streams\IIterator |
|
MvcCore\Ext\Routers\IExtended |
Responsibility: configurable protected properties with getters and setters,
internal protected properties and internal methods used
in most extended routers implementations bellow.
Trait for classes:
- \MvcCore\Ext\Routers\Media
- \MvcCore\Ext\Routers\Localization
- \MvcCore\Ext\Routers\MediaAndLocalization |
MvcCore\Ext\Routers\ILocalization |
Responsibility - recognize localization from URL or from http header or
session and set up request object, complete automatically
rewritten URL with remembered localization version. Redirect
to proper localization by configuration. Than route request
like parent class does. Generate URL addresses with prefixed
localization for localized routes or add only localization
into query string where necessary. |
MvcCore\Ext\Routers\IMedia |
Responsibility - recognize media site version from URL or user agent or
session and set up request object, complete automatically
rewritten URL with remembered media site version. Redirect
to proper media site version by configuration.Than route
request like parent class does. Generate URL addresses with
prefixed media site version for recognized special devices
or add only media site version into query string if necessary. |
MvcCore\Ext\Routers\IModule |
|
MvcCore\Ext\Routers\Modules\IRoute |
Responsibility - describing request(s) to match and reversely build URL addresses.
- Describing request scheme, domain and base path part and target application
module, optionally to define allowed localizations or allowed media versions.
- Matching request by given request object, see \MvcCore\Route::Matches() .
- Completing URL address scheme, domain and base path part by given params
array, see \MvcCore\Route::Url() . |
MvcCore\Ext\Tools\Images\IAdapter |
|
MvcCore\Ext\Tools\Images\IComposite |
|
MvcCore\Ext\Tools\Images\IFormat |
|
MvcCore\Ext\Tools\Images\IImage |
|
MvcCore\Ext\Tools\Images\Imagicks\IComposite |
|
MvcCore\Ext\Tools\Images\IOrientation |
|
MvcCore\Ext\Views\Helpers\IHelper |
Responsibility - better view helper setup.
- Every time, when there is necessary to create view helper, there is called
\MvcCore\Ext\Views\Helpers\IHelper::GetInstance(); method in \MvcCore\View .
All view helpers are stored inside \MvcCore\View and they are created only once.
But if you need to configure view helper anytime before, you can use this method
for singleton instancing to configure anything statically anytime before.
- Every time, when currently rendered view object is changed (action view, layout view,
sub-controller view...), there is called \MvcCore\Ext\Views\Helpers\IHelper::SetView($view);
method giving currently rendered view object. From this object, you can get properties
for better view helper processing like application object, controller, request or response object. |
MvcCore\IApplication |
Responsibility - singleton, instancing all core classes and handling request.
- Global store and managing singleton application instance.
- Main application objects container (request, response, controller, etc.).
- MvcCore compile mode managing (single file mode, php, phar, or no package).
- Global store for all main core class names, to use them as modules,
to be changed any time (request class, response class, debug class, etc.).
- Dispatching application http request/response (\MvcCore\Application::Dispatch(); ):
- Completing request and response.
- Calling pre/post handlers.
- Controller/action dispatching.
- Error handling and error responses. |
MvcCore\IConfig |
Responsibility - reading/writing config file(s).
- Config file(s) reading:
- Reading any config.ini file by relative path.
- Parsing and typing INI data into stdClass|array by key types or typing
INI values into int|float|bool|string for all other detected primitives.
- Config file(s) writing:
- Dumping stdClass es and array s into INI syntax string with
all other environment records.
- Storing serialized config data in single process. |
MvcCore\IController |
Responsibility - controller lifecycle - data preparing, rendering, response completing.
- Controller lifecycle dispatching:
- Handling setup methods after creation from application core dispatching.
- Calling lifecycle methods (\MvcCore\Controller::Dispatch(); ):
- \MvcCore\Controller::Init();
- \MvcCore\Controller::PreDispatch();
- Calling routed controller action.
- \MvcCore\Controller::Render();
- Rendering or no-rendering customization.
- HTTP responses and redirects managing and customization.
- Basic error responses rendering.
- Customization for request termination to write
and close session, sending response etc. |
MvcCore\IDebug |
Responsibility - any development and logging messages and exceptions
printing and logging.
- Printing any variable in content body.
- Printing any variable in browser debug bar.
- Caught exceptions printing.
- Any variables and caught exceptions file logging.
- Time printing. |
MvcCore\IEnvironment |
Responsibility - detecting environment, optionally by in system config.
- Environment management and detection by:
- comparing server and client IP, by value or regular expression.
- comparing server hostname or IP, by value or regular expression.
- checking system environment variable existence, value or by regular exp. |
MvcCore\IModel |
Responsibility - static methods for connections, configuration
and for active record properties manipulation.
- Database \PDO connecting by config settings.
- Reading db section configuration(s) from system config.ini file.
- Resource class with SQL queries localization, instancing and caching.
- Data methods for manipulating properties based on active record pattern.
- Meta data about properties parsing and caching.
- Magic methods handling. |
MvcCore\IRequest |
Responsibility - request description - URL and params inputs parsing and cleaning.
- Linear request URL parsing from referenced $_SERVER global variable
(as constructor argument) into local properties, describing URL sections.
- Params reading from referenced $_GET and $_POST global variables
(as constructor arguments) or reading data from direct PHP
input "php://input" (as encoded JSON data or as query string).
- Headers cleaning and reading by getallheaders() or from referenced $_SERVER['HTTP_...'] .
- Cookies cleaning and reading from referenced $_COOKIE['...'] .
- Uploaded files by wrapped referenced $_FILES global array.
- Primitive values cleaning or array recursive cleaning by called
developer rules from params array, headers array and cookies array. |
MvcCore\IResponse |
Responsibility - completing all information for response - headers (cookies) and content.
- HTTP response wrapper carrying response headers and response body.
- PHP setcookie function wrapper to complete default values such domain or http only etc.
- Sending response at application terminate process by \MvcCore\IResponse::Send(); .
- Completing MvcCore performance header at response end. |
MvcCore\IRoute |
Responsibility - describing request(s) to match and reversely build URL addresses.
- Describing request to match and target it (read more about properties).
- Matching request by given request object, see \MvcCore\Route::Matches() .
- Completing URL address by given params array, see \MvcCore\Route::Url() . |
MvcCore\IRouter |
Responsibility - singleton, routes instancing, request routing and URL building.
- Application router singleton instance managing.
- Global storage for all configured routes - instancing all route(s) in
application start configuration anywhere in Bootstrap class.
- Global storage for currently matched route.
- Application request routing - targeting request by matched route object
(in route method Route(); by request path [or more]), ) into target
route controller and route action, always called from core in:
\MvcCore\Application::Run(); => \MvcCore\Application::routeRequest(); .
- Application URL addresses completing:
- By mod_rewrite form by configured route instances.
- By index.php? + query string form, containing controller , action
and all other params. |
MvcCore\ISession |
Responsibility - session data management - starting, writing and expirations.
- Safe start (only once)
- By \MvcCore\Session::Start()
- Called by \MvcCore\Application::GetInstance()->SessionStart();
- Called by \MvcCore\Controller::Init(); .
- Session writing and closing at request end:
- In \MvcCore\Session::Close()
- Called over register_shutdown_function()
from \MvcCore::Terminate();
- Session namespaces management:
- Variables expiration by seconds.
- Variables expiration by request hoops. |
MvcCore\ITool |
Responsibility - static helpers for core classes.
- Static functions for string case conversions.
- Static functions to safely encode/decode JSON.
- Static functions to get client/server IPs.
- Static functions to get system temp directory.
- Static functions to safely invoke dangerous calls.
- Static functions to write into file by one process only.
- Static functions to check core classes inheritance.
- Static functions to cache and read attributes (or PhpDocs tags). |
MvcCore\IView |
Core view:
- Static storage for
- commonly used document type
- common views extension
- common directories names containing view scripts
- common views helpers namespaces
- It's possible to use this class for any controller, sub controller or form.
- View pre render preparing and rendering.
- View helpers management on demand:
- Creating by predefined class namespaces.
- global static helpers instances storage and repeatable calling.
- Views sub scripts relative path solving in:
<?php $this->RenderScript('./any-subdirectory/script-to-render.php'); ?>
- Url() - proxy method from \MvcCore\Router targeting to configured router.
- AssetUrl() - proxy method from \MvcCore\Controller .
- Magic calls:
- __call() - To handler any view helper, if no helper found - exception thrown.
- __set() - To set anything from controller to get it back in view.
- __get() - To get anything in view previously initialized from controller.
- Optional direct code evaluation.
- No special view language implemented, use short_open_tags (<?=...?> ) allowed by default. |
MvcCore\Model\IConstants |
|
MvcCore\Request\IConstants |
|
MvcCore\Response\IConstants |
|
MvcCore\Route\IConstants |
|
MvcCore\Router\IConstants |
|
MvcCore\Session\IConstants |
|
MvcCore\View\IConstants |
|
Traits summary
MvcCore\Application\Dispatching |
Trait as partial class for \MvcCore\Application :
- Dispatching application http request/response (\MvcCore\Application::Dispatch(); ):
- Completing request and response.
- Calling pre/post handlers.
- Controller/action dispatching.
- Error handling and error responses. |
MvcCore\Application\GettersSetters |
Trait as partial class for \MvcCore\Application :
- Main application objects container (request, response, controller, etc.).
- MvcCore compile mode managing (single file mode, php, phar, or no package).
- Global store for all main core class names, to use them as modules,
to be changed any time (request class, response class, debug class, etc.). |
MvcCore\Application\Helpers |
Trait as partial class for \MvcCore\Application :
- Helper methods for normal requests and error requests dispatching.
- Helper methods for core classes configuration. |
MvcCore\Application\Props |
Trait as partial class for \MvcCore\Application :
- Main application objects container (request, response, controller, etc.).
- MvcCore compile mode managing (single file mode, php, phar, or no package).
- Global store for all main core class names, to use them as modules,
to be changed any time (request class, response class, debug class, etc.). |
MvcCore\Config\Environment |
|
MvcCore\Config\IniDump |
|
MvcCore\Config\IniProps |
|
MvcCore\Config\IniRead |
|
MvcCore\Config\MagicMethods |
|
MvcCore\Config\PropsGettersSetters |
|
MvcCore\Config\ReadWrite |
|
MvcCore\Controller\Dispatching |
|
MvcCore\Controller\GettersSetters |
|
MvcCore\Controller\Props |
|
MvcCore\Controller\Rendering |
|
MvcCore\Debug\Handlers |
|
MvcCore\Debug\Initializations |
|
MvcCore\Debug\Props |
|
MvcCore\Environment\Detection |
|
MvcCore\Environment\Instancing |
|
MvcCore\Environment\PropsGettersSetters |
|
MvcCore\Ext\Auths\Basic\Handling |
Trait for \MvcCore\Ext\Auths\Basic class. Trait contains:
- Static GetInstance() method to return singleton instance.
- Constructor to init default config props and to assign pre-route and pre-dispatch application handlers.
- Protected methods to handle:
- Pre-route handler - to init sign-in/sign-out form URL addresses and routes if necessary.
- Pre-dispatch handler - to assign user instance to prepared controller to dispatch if possible. |
MvcCore\Ext\Auths\Basic\PropsGettersSetters |
Trait for \MvcCore\Ext\Auths\Basic class. Trait contains:
- All static properties.
- All instance configurable properties except protected $autoInit property from \MvcCore\Model .
- All instance non-configurable properties for internal use.
- Getters for non-configurable and configurable instance properties.
- Setters for configurable properties with interface implementation checking for class name properties.
- Setters for non-configurable instance properties. |
MvcCore\Ext\Auths\Basics\Controller\Base |
Responsibility - handle configured sign-in form and sign-out form submit requests. |
MvcCore\Ext\Auths\Basics\Form\Base |
Trait for class \MvcCore\Ext\Auths\Basics\SignInForm and \MvcCore\Ext\Auths\Basics\SignOutForm . Trait contains:
- Protected property $auth to use authentication module more flexible for fields init.
- method initAuthFormPropsAndHiddenControls() always called from Init() method to init hidden fields for success URL and error url. |
MvcCore\Ext\Auths\Basics\Form\SignIn |
Trait for class \MvcCore\Ext\Auths\Basics\SignInForm . Trait contains:
- Init() method to initialize all necessary sign in form fields.
- Submit() method to handle sign-in form submit request (POST by default). |
MvcCore\Ext\Auths\Basics\Form\SignOut |
Trait for class \MvcCore\Ext\Auths\Basics\SignOutForm . Trait contains:
- Protected property $user to display user full name in sign out form.
- Init() method to initialize all necessary sign in form fields.
- Submit() method to handle sign-in form submit request (POST by default).
- Render() method to render sign out form without template by default. |
MvcCore\Ext\Auths\Basics\Role\Base |
Trait for \MvcCore\Ext\Auths\Basics\Role class. Trait contains:
- $name property, it's public getter and setter.
- public IsAllowed() method. |
MvcCore\Ext\Auths\Basics\Role\Features |
Responsibility - base role model trait.
This trait is necessary to use and implement method
GetByName() or more. It's also necessary to implement
loading users with roles and their permissions to be able
to check user roles and permissions. |
MvcCore\Ext\Auths\Basics\User\Auth |
Trait for \MvcCore\Ext\Auths\Basics\User class. Trait contains:
- Static property $sessionIdentity with their public setter and getter with expiration settings.
- Static property $sessionAuthorization with their public setter and getter with expiration settings.
- Static methods LogIn() and LogOut() to authenticate or remove user from session namespace.
- Static method EncodePasswordToHash() to hash password with custom or configured salt and other options. |
MvcCore\Ext\Auths\Basics\User\Base |
Trait for \MvcCore\Ext\Auths\Basics\User class. Trait contains:
- Instance properties $aserName , $fullName and $passwordHash with their public getters and setters. |
MvcCore\Ext\Auths\Basics\User\Features |
Responsibility - base user model class features.
This trait is necessary to use to be able to login into your app. |
MvcCore\Ext\Auths\Basics\User\Roles |
Trait for \MvcCore\Ext\Auths\Basics\User class. Trait contains:
- Instance property $admin and $roles with their public getters and setters to manipulate with user roles.
- Method IsAllowed() to get allowed permissions from user instance or from user roles. |
MvcCore\Ext\Auths\Basics\UserAndRole\Base |
Trait for \MvcCore\Ext\Auths\Basics\User and \MvcCore\Ext\Auths\Basics\Role class. Trait contains:
- Instance properties $id and $active with their public getters and setters. |
MvcCore\Ext\Auths\Basics\UserAndRole\Permissions |
Trait for \MvcCore\Ext\Auths\Basics\User and \MvcCore\Ext\Auths\Basics\Role class. Trait contains:
- Instance property $permissions with their public getters and setters to manipulate with permissions. |
MvcCore\Ext\Configs\Yamls\YamlDump |
|
MvcCore\Ext\Configs\Yamls\YamlProps |
|
MvcCore\Ext\Configs\Yamls\YamlRead |
|
MvcCore\Ext\Form\AddMethods |
Trait for class MvcCore\Ext\Form containing adding methods for configurable
properties except methods manipulating with form field instances, for those
methods, there is another trait \MvcCore\Ext\Form\FieldMethods . |
MvcCore\Ext\Form\Assets |
Trait for class MvcCore\Ext\Form containing methods to complete
configured field's supporting js and css files to render them properly. |
MvcCore\Ext\Form\ConfigProps |
Trait for class MvcCore\Ext\Form containing all configurable properties. |
MvcCore\Ext\Form\Csrf |
Trait for class MvcCore\Ext\Form containing methods to create, get and
verify CSRF tokens and to process CSRF error handlers if tokens are not valid. |
MvcCore\Ext\Form\FieldMethods |
Trait for class MvcCore\Ext\Form containing getters and setters methods for
form field instances and methods to add, search or remove field instance from
form. |
MvcCore\Ext\Form\GetMethods |
Trait for class MvcCore\Ext\Form containing getter methods for configurable properties. |
MvcCore\Ext\Form\InternalProps |
Trait for class MvcCore\Ext\Form containing all internal properties. |
MvcCore\Ext\Form\Rendering |
Trait for class MvcCore\Ext\Form containing rendering logic and methods. |
MvcCore\Ext\Form\Session |
Trait for class MvcCore\Ext\Form containing logic and methods to work with
values necessary store in session. It use configured core class \MvcCore\Session . |
MvcCore\Ext\Form\SetMethods |
Trait for class MvcCore\Ext\Form containing setter methods for configurable properties. |
MvcCore\Ext\Form\Submitting |
Trait for class MvcCore\Ext\Form containing submitting logic and methods. |
MvcCore\Ext\Forms\Field\Getters |
Trait for class \MvcCore\Ext\Forms\Field containing field (mostly
configurable) properties getter methods. |
MvcCore\Ext\Forms\Field\Props |
Trait for class \MvcCore\Ext\Forms\Field containing field configurable
and internal properties. |
MvcCore\Ext\Forms\Field\Props\AccessKey |
Trait for all visible fields, for classes:
- \MvcCore\Ext\Forms\Fields\Button
- \MvcCore\Ext\Forms\Fields\SubmitButton
- \MvcCore\Ext\Forms\Fields\ResetButton
- \MvcCore\Ext\Forms\Fields\Color
- \MvcCore\Ext\Forms\Fields\Date
- \MvcCore\Ext\Forms\Fields\DateTime
- \MvcCore\Ext\Forms\Fields\Month
- \MvcCore\Ext\Forms\Fields\Time
- \MvcCore\Ext\Forms\Fields\Week
- \MvcCore\Ext\Forms\Fields\File
- \MvcCore\Ext\Forms\Fields\Checkbox
- \MvcCore\Ext\Forms\Fields\Image
- \MvcCore\Ext\Forms\Fields\Number
- \MvcCore\Ext\Forms\Fields\Range
- \MvcCore\Ext\Forms\Fields\ResetInput
- \MvcCore\Ext\Forms\Fields\Select
- \MvcCore\Ext\Forms\Fields\CountrySelect
- \MvcCore\Ext\Forms\Fields\SubmitInput
- \MvcCore\Ext\Forms\Fields\Text
- \MvcCore\Ext\Forms\Fields\Email
- \MvcCore\Ext\Forms\Fields\Password
- \MvcCore\Ext\Forms\Fields\Search
- \MvcCore\Ext\Forms\Fields\Tel
- \MvcCore\Ext\Forms\Fields\Url
- \MvcCore\Ext\Forms\Fields\Textarea
- \MvcCore\Ext\Forms\FieldsGroup
- \MvcCore\Ext\Forms\CheckboxGroup
- \MvcCore\Ext\Forms\RadioGroup |
MvcCore\Ext\Forms\Field\Props\AutoComplete |
Trait for classes:
- \MvcCore\Ext\Forms\Fields\Color
- \MvcCore\Ext\Forms\Fields\Number
- \MvcCore\Ext\Forms\Fields\Range
- \MvcCore\Ext\Forms\Fields\Select
- \MvcCore\Ext\Forms\Fields\CountrySelect
- \MvcCore\Ext\Forms\Fields\Text
- \MvcCore\Ext\Forms\Fields\Email
- \MvcCore\Ext\Forms\Fields\Password
- \MvcCore\Ext\Forms\Fields\Search
- \MvcCore\Ext\Forms\Fields\Tel
- \MvcCore\Ext\Forms\Fields\Url
- \MvcCore\Ext\Forms\Fields\Textarea
- \MvcCore\Ext\Forms\Fields\Hidden |
MvcCore\Ext\Forms\Field\Props\AutoFocus |
Trait for all visible fields, for classes:
- \MvcCore\Ext\Forms\Fields\Button
- \MvcCore\Ext\Forms\Fields\SubmitButton
- \MvcCore\Ext\Forms\Fields\ResetButton
- \MvcCore\Ext\Forms\Fields\Color
- \MvcCore\Ext\Forms\Fields\Date
- \MvcCore\Ext\Forms\Fields\DateTime
- \MvcCore\Ext\Forms\Fields\Month
- \MvcCore\Ext\Forms\Fields\Time
- \MvcCore\Ext\Forms\Fields\Week
- \MvcCore\Ext\Forms\Fields\File
- \MvcCore\Ext\Forms\Fields\Checkbox
- \MvcCore\Ext\Forms\Fields\Image
- \MvcCore\Ext\Forms\Fields\Number
- \MvcCore\Ext\Forms\Fields\Range
- \MvcCore\Ext\Forms\Fields\ResetInput
- \MvcCore\Ext\Forms\Fields\Select
- \MvcCore\Ext\Forms\Fields\CountrySelect
- \MvcCore\Ext\Forms\Fields\SubmitInput
- \MvcCore\Ext\Forms\Fields\Text
- \MvcCore\Ext\Forms\Fields\Email
- \MvcCore\Ext\Forms\Fields\Password
- \MvcCore\Ext\Forms\Fields\Search
- \MvcCore\Ext\Forms\Fields\Tel
- \MvcCore\Ext\Forms\Fields\Url
- \MvcCore\Ext\Forms\Fields\Textarea
- \MvcCore\Ext\Forms\FieldsGroup
- \MvcCore\Ext\Forms\CheckboxGroup
- \MvcCore\Ext\Forms\RadioGroup |
MvcCore\Ext\Forms\Field\Props\Checked |
Trait for classes:
- \MvcCore\Ext\Forms\Fields\Checkbox
Trait contains protected property checked with it's getter and setter
and public static method to recognize checked boolean automatically from
given field $value . |
MvcCore\Ext\Forms\Field\Props\DataList |
Trait for classes:
- \MvcCore\Ext\Forms\Fields\Color
- \MvcCore\Ext\Forms\Fields\Date
- \MvcCore\Ext\Forms\Fields\DateTime
- \MvcCore\Ext\Forms\Fields\Month
- \MvcCore\Ext\Forms\Fields\Time
- \MvcCore\Ext\Forms\Fields\Week
- \MvcCore\Ext\Forms\Fields\Number
- \MvcCore\Ext\Forms\Fields\Range
- \MvcCore\Ext\Forms\Fields\ResetInput
- \MvcCore\Ext\Forms\Fields\Text
- \MvcCore\Ext\Forms\Fields\Email
- \MvcCore\Ext\Forms\Fields\Password
- \MvcCore\Ext\Forms\Fields\Search
- \MvcCore\Ext\Forms\Fields\Tel
- \MvcCore\Ext\Forms\Fields\Url |
MvcCore\Ext\Forms\Field\Props\Disabled |
Trait for all visible fields, for classes:
- \MvcCore\Ext\Forms\Fields\Button
- \MvcCore\Ext\Forms\Fields\SubmitButton
- \MvcCore\Ext\Forms\Fields\ResetButton
- \MvcCore\Ext\Forms\Fields\Color
- \MvcCore\Ext\Forms\Fields\Date
- \MvcCore\Ext\Forms\Fields\DateTime
- \MvcCore\Ext\Forms\Fields\Month
- \MvcCore\Ext\Forms\Fields\Time
- \MvcCore\Ext\Forms\Fields\Week
- \MvcCore\Ext\Forms\Fields\File
- \MvcCore\Ext\Forms\Fields\Checkbox
- \MvcCore\Ext\Forms\Fields\Image
- \MvcCore\Ext\Forms\Fields\Number
- \MvcCore\Ext\Forms\Fields\Range
- \MvcCore\Ext\Forms\Fields\ResetInput
- \MvcCore\Ext\Forms\Fields\Select
- \MvcCore\Ext\Forms\Fields\CountrySelect
- \MvcCore\Ext\Forms\Fields\SubmitInput
- \MvcCore\Ext\Forms\Fields\Text
- \MvcCore\Ext\Forms\Fields\Email
- \MvcCore\Ext\Forms\Fields\Password
- \MvcCore\Ext\Forms\Fields\Search
- \MvcCore\Ext\Forms\Fields\Tel
- \MvcCore\Ext\Forms\Fields\Url
- \MvcCore\Ext\Forms\Fields\Textarea
- \MvcCore\Ext\Forms\FieldsGroup
- \MvcCore\Ext\Forms\CheckboxGroup
- \MvcCore\Ext\Forms\RadioGroup |
MvcCore\Ext\Forms\Field\Props\Files |
Trait for classes:
- \MvcCore\Ext\Forms\Fields\File
- \MvcCore\Ext\Forms\Validators\Files |
MvcCore\Ext\Forms\Field\Props\Format |
Trait for classes:
- \MvcCore\Ext\Forms\Fields\Date
- \MvcCore\Ext\Forms\Fields\DateTime
- \MvcCore\Ext\Forms\Fields\Month
- \MvcCore\Ext\Forms\Fields\Time
- \MvcCore\Ext\Forms\Fields\Week
- \MvcCore\Ext\Forms\Validators\Date
- \MvcCore\Ext\Forms\Validators\DateTime
- \MvcCore\Ext\Forms\Validators\Month
- \MvcCore\Ext\Forms\Validators\Time
- \MvcCore\Ext\Forms\Validators\Week |
MvcCore\Ext\Forms\Field\Props\FormAttrs |
Trait for classes:
- \MvcCore\Ext\Forms\Fields\Image
- \MvcCore\Ext\Forms\Fields\SubmitButton
- \MvcCore\Ext\Forms\Fields\SubmitInput |
MvcCore\Ext\Forms\Field\Props\GroupLabelAttrs |
Trait for classes:
- \MvcCore\Ext\Forms\FieldsGroup
- \MvcCore\Ext\Forms\CheckboxGroup
- \MvcCore\Ext\Forms\RadioGroup |
MvcCore\Ext\Forms\Field\Props\GroupLabelCssClasses |
Trait for classes:
- \MvcCore\Ext\Forms\FieldsGroup
- \MvcCore\Ext\Forms\CheckboxGroup
- \MvcCore\Ext\Forms\RadioGroup |
MvcCore\Ext\Forms\Field\Props\InputMode |
Trait for classes:
- \MvcCore\Ext\Forms\Fields\Number
- \MvcCore\Ext\Forms\Fields\Range- \MvcCore\Ext\Forms\Fields\Text- \MvcCore\Ext\Forms\Fields\Email- \MvcCore\Ext\Forms\Fields\Password- \MvcCore\Ext\Forms\Fields\Search- \MvcCore\Ext\Forms\Fields\Tel- \MvcCore\Ext\Forms\Fields\Url` |
MvcCore\Ext\Forms\Field\Props\Label |
Trait for all visible fields, for classes:
- \MvcCore\Ext\Forms\Fields\Button
- \MvcCore\Ext\Forms\Fields\SubmitButton
- \MvcCore\Ext\Forms\Fields\ResetButton
- \MvcCore\Ext\Forms\Fields\Color
- \MvcCore\Ext\Forms\Fields\Date
- \MvcCore\Ext\Forms\Fields\DateTime
- \MvcCore\Ext\Forms\Fields\Month
- \MvcCore\Ext\Forms\Fields\Time
- \MvcCore\Ext\Forms\Fields\Week
- \MvcCore\Ext\Forms\Fields\File
- \MvcCore\Ext\Forms\Fields\Checkbox
- \MvcCore\Ext\Forms\Fields\Image
- \MvcCore\Ext\Forms\Fields\Number
- \MvcCore\Ext\Forms\Fields\Range
- \MvcCore\Ext\Forms\Fields\ResetInput
- \MvcCore\Ext\Forms\Fields\Select
- \MvcCore\Ext\Forms\Fields\CountrySelect
- \MvcCore\Ext\Forms\Fields\SubmitInput
- \MvcCore\Ext\Forms\Fields\Text
- \MvcCore\Ext\Forms\Fields\Email
- \MvcCore\Ext\Forms\Fields\Password
- \MvcCore\Ext\Forms\Fields\Search
- \MvcCore\Ext\Forms\Fields\Tel
- \MvcCore\Ext\Forms\Fields\Url
- \MvcCore\Ext\Forms\Fields\Textarea
- \MvcCore\Ext\Forms\FieldsGroup
- \MvcCore\Ext\Forms\CheckboxGroup
- \MvcCore\Ext\Forms\RadioGroup |
MvcCore\Ext\Forms\Field\Props\MinMaxLength |
Trait for classes:
- \MvcCore\Ext\Forms\Fields\Text
- \MvcCore\Ext\Forms\Fields\Email
- \MvcCore\Ext\Forms\Fields\Password
- \MvcCore\Ext\Forms\Fields\Search
- \MvcCore\Ext\Forms\Fields\Tel
- \MvcCore\Ext\Forms\Fields\Url
- \MvcCore\Ext\Forms\Fields\Textarea
- \MvcCore\Ext\Forms\Validators\MinMaxLength |
MvcCore\Ext\Forms\Field\Props\MinMaxOptions |
Trait for classes:
- \MvcCore\Ext\Forms\Fields\Select
- \MvcCore\Ext\Forms\Fields\CountrySelect
- \MvcCore\Ext\Forms\CheckboxGroup
- \MvcCore\Ext\Forms\Validators\MinMaxOptions |
MvcCore\Ext\Forms\Field\Props\MinMaxStepDates |
Trait for classes:
- \MvcCore\Ext\Forms\Fields\Date
- \MvcCore\Ext\Forms\Fields\DateTime
- \MvcCore\Ext\Forms\Fields\Month
- \MvcCore\Ext\Forms\Fields\Time
- \MvcCore\Ext\Forms\Fields\Week
Trait contains properties, getters and setters for
protected properties min , max and step . |
MvcCore\Ext\Forms\Field\Props\MinMaxStepNumbers |
Trait for classes:
- \MvcCore\Ext\Forms\Fields\Number
- \MvcCore\Ext\Forms\Fields\Range
Trait contains properties, getters and setters for
protected properties min , max and step . |
MvcCore\Ext\Forms\Field\Props\Multiple |
Trait for classes:
- \MvcCore\Ext\Forms\Fields\Email
- \MvcCore\Ext\Forms\Fields\File
- \MvcCore\Ext\Forms\Fields\Range
- \MvcCore\Ext\Forms\Fields\Select
- \MvcCore\Ext\Forms\Fields\CountrySelect
- \MvcCore\Ext\Forms\Validators\Files
- \MvcCore\Ext\Forms\Validators\Range
- \MvcCore\Ext\Forms\Validators\ValueInOptions |
MvcCore\Ext\Forms\Field\Props\NullOptionText |
Trait for classes:
- \MvcCore\Ext\Forms\Fields\Select
- \MvcCore\Ext\Forms\Fields\CountrySelect |
MvcCore\Ext\Forms\Field\Props\Options |
Trait for classes:
- \MvcCore\Ext\Forms\Fields\DataList
- \MvcCore\Ext\Forms\Fields\Select
- \MvcCore\Ext\Forms\Fields\CountrySelect
- \MvcCore\Ext\Forms\FieldsGroup
- \MvcCore\Ext\Forms\CheckboxGroup
- \MvcCore\Ext\Forms\RadioGroup |
MvcCore\Ext\Forms\Field\Props\Pattern |
Trait for classes:
- \MvcCore\Ext\Forms\Fields\Text
- \MvcCore\Ext\Forms\Fields\Email
- \MvcCore\Ext\Forms\Fields\Password
- \MvcCore\Ext\Forms\Fields\Search
- \MvcCore\Ext\Forms\Fields\Tel
- \MvcCore\Ext\Forms\Fields\Url
- \MvcCore\Ext\Forms\Validators\Pattern |
MvcCore\Ext\Forms\Field\Props\PlaceHolder |
Trait for classes:
- \MvcCore\Ext\Forms\Fields\Number
- \MvcCore\Ext\Forms\Fields\Range
- \MvcCore\Ext\Forms\Fields\Text
- \MvcCore\Ext\Forms\Fields\Email
- \MvcCore\Ext\Forms\Fields\Password
- \MvcCore\Ext\Forms\Fields\Search
- \MvcCore\Ext\Forms\Fields\Tel
- \MvcCore\Ext\Forms\Fields\Url
- \MvcCore\Ext\Forms\Fields\Textarea |
MvcCore\Ext\Forms\Field\Props\ReadOnly |
Trait for all visible fields, for classes:
- \MvcCore\Ext\Forms\Fields\Button
- \MvcCore\Ext\Forms\Fields\SubmitButton
- \MvcCore\Ext\Forms\Fields\ResetButton
- \MvcCore\Ext\Forms\Fields\Color
- \MvcCore\Ext\Forms\Fields\Date
- \MvcCore\Ext\Forms\Fields\DateTime
- \MvcCore\Ext\Forms\Fields\Month
- \MvcCore\Ext\Forms\Fields\Time
- \MvcCore\Ext\Forms\Fields\Week
- \MvcCore\Ext\Forms\Fields\File
- \MvcCore\Ext\Forms\Fields\Checkbox
- \MvcCore\Ext\Forms\Fields\Image
- \MvcCore\Ext\Forms\Fields\Number
- \MvcCore\Ext\Forms\Fields\Range
- \MvcCore\Ext\Forms\Fields\ResetInput
- \MvcCore\Ext\Forms\Fields\Select
- \MvcCore\Ext\Forms\Fields\CountrySelect
- \MvcCore\Ext\Forms\Fields\SubmitInput
- \MvcCore\Ext\Forms\Fields\Text
- \MvcCore\Ext\Forms\Fields\Email
- \MvcCore\Ext\Forms\Fields\Password
- \MvcCore\Ext\Forms\Fields\Search
- \MvcCore\Ext\Forms\Fields\Tel
- \MvcCore\Ext\Forms\Fields\Url
- \MvcCore\Ext\Forms\Fields\Textarea
- \MvcCore\Ext\Forms\FieldsGroup
- \MvcCore\Ext\Forms\CheckboxGroup
- \MvcCore\Ext\Forms\RadioGroup |
MvcCore\Ext\Forms\Field\Props\Required |
Trait for all visible fields, for classes:
- \MvcCore\Ext\Forms\Fields\Button
- \MvcCore\Ext\Forms\Fields\SubmitButton
- \MvcCore\Ext\Forms\Fields\ResetButton
- \MvcCore\Ext\Forms\Fields\Color
- \MvcCore\Ext\Forms\Fields\Date
- \MvcCore\Ext\Forms\Fields\DateTime
- \MvcCore\Ext\Forms\Fields\Month
- \MvcCore\Ext\Forms\Fields\Time
- \MvcCore\Ext\Forms\Fields\Week
- \MvcCore\Ext\Forms\Fields\File
- \MvcCore\Ext\Forms\Fields\Checkbox
- \MvcCore\Ext\Forms\Fields\Image
- \MvcCore\Ext\Forms\Fields\Number
- \MvcCore\Ext\Forms\Fields\Range
- \MvcCore\Ext\Forms\Fields\ResetInput
- \MvcCore\Ext\Forms\Fields\Select
- \MvcCore\Ext\Forms\Fields\CountrySelect
- \MvcCore\Ext\Forms\Fields\SubmitInput
- \MvcCore\Ext\Forms\Fields\Text
- \MvcCore\Ext\Forms\Fields\Email
- \MvcCore\Ext\Forms\Fields\Password
- \MvcCore\Ext\Forms\Fields\Search
- \MvcCore\Ext\Forms\Fields\Tel
- \MvcCore\Ext\Forms\Fields\Url
- \MvcCore\Ext\Forms\Fields\Textarea
- \MvcCore\Ext\Forms\FieldsGroup
- \MvcCore\Ext\Forms\CheckboxGroup
- \MvcCore\Ext\Forms\RadioGroup |
MvcCore\Ext\Forms\Field\Props\RowsColsWrap |
Trait for classes:
- \MvcCore\Ext\Forms\Fields\Textarea |
MvcCore\Ext\Forms\Field\Props\Size |
Trait for classes:
- \MvcCore\Ext\Forms\Fields\Select
- \MvcCore\Ext\Forms\Fields\CountrySelect
- \MvcCore\Ext\Forms\Fields\Text
- \MvcCore\Ext\Forms\Fields\Email
- \MvcCore\Ext\Forms\Fields\Password
- \MvcCore\Ext\Forms\Fields\Search
- \MvcCore\Ext\Forms\Fields\Tel
- \MvcCore\Ext\Forms\Fields\Url |
MvcCore\Ext\Forms\Field\Props\SpellCheck |
Trait for classes:
- \MvcCore\Ext\Forms\Fields\Text
- \MvcCore\Ext\Forms\Fields\Email
- \MvcCore\Ext\Forms\Fields\Password
- \MvcCore\Ext\Forms\Fields\Search
- \MvcCore\Ext\Forms\Fields\Tel
- \MvcCore\Ext\Forms\Fields\Url
- \MvcCore\Ext\Forms\Fields\Textarea |
MvcCore\Ext\Forms\Field\Props\Submit |
Trait for classes:
- \MvcCore\Ext\Forms\Fields\Image
- \MvcCore\Ext\Forms\Fields\SubmitButton
- \MvcCore\Ext\Forms\Fields\SubmitInput |
MvcCore\Ext\Forms\Field\Props\TabIndex |
Trait for classes:
- \MvcCore\Ext\Forms\Fields\Button
- \MvcCore\Ext\Forms\Fields\SubmitButton
- \MvcCore\Ext\Forms\Fields\ResetButton
- \MvcCore\Ext\Forms\Fields\Color
- \MvcCore\Ext\Forms\Fields\Date
- \MvcCore\Ext\Forms\Fields\DateTime
- \MvcCore\Ext\Forms\Fields\Month
- \MvcCore\Ext\Forms\Fields\Time
- \MvcCore\Ext\Forms\Fields\Week
- \MvcCore\Ext\Forms\Fields\File
- \MvcCore\Ext\Forms\Fields\Checkbox
- \MvcCore\Ext\Forms\Fields\Image
- \MvcCore\Ext\Forms\Fields\Number
- \MvcCore\Ext\Forms\Fields\Range
- \MvcCore\Ext\Forms\Fields\ResetInput
- \MvcCore\Ext\Forms\Fields\Select
- \MvcCore\Ext\Forms\Fields\CountrySelect
- \MvcCore\Ext\Forms\Fields\SubmitInput
- \MvcCore\Ext\Forms\Fields\Text
- \MvcCore\Ext\Forms\Fields\Email
- \MvcCore\Ext\Forms\Fields\Password
- \MvcCore\Ext\Forms\Fields\Search
- \MvcCore\Ext\Forms\Fields\Tel
- \MvcCore\Ext\Forms\Fields\Url
- \MvcCore\Ext\Forms\Fields\Textarea
- \MvcCore\Ext\Forms\FieldsGroup
- \MvcCore\Ext\Forms\CheckboxGroup
- \MvcCore\Ext\Forms\RadioGroup |
MvcCore\Ext\Forms\Field\Props\VisibleField |
Trait for all visible fields, for classes:
- \MvcCore\Ext\Forms\Fields\Button
- \MvcCore\Ext\Forms\Fields\SubmitButton
- \MvcCore\Ext\Forms\Fields\ResetButton
- \MvcCore\Ext\Forms\Fields\Color
- \MvcCore\Ext\Forms\Fields\Date
- \MvcCore\Ext\Forms\Fields\DateTime
- \MvcCore\Ext\Forms\Fields\Month
- \MvcCore\Ext\Forms\Fields\Time
- \MvcCore\Ext\Forms\Fields\Week
- \MvcCore\Ext\Forms\Fields\File
- \MvcCore\Ext\Forms\Fields\Checkbox
- \MvcCore\Ext\Forms\Fields\Image
- \MvcCore\Ext\Forms\Fields\Number
- \MvcCore\Ext\Forms\Fields\Range
- \MvcCore\Ext\Forms\Fields\ResetInput
- \MvcCore\Ext\Forms\Fields\Select
- \MvcCore\Ext\Forms\Fields\CountrySelect
- \MvcCore\Ext\Forms\Fields\SubmitInput
- \MvcCore\Ext\Forms\Fields\Text
- \MvcCore\Ext\Forms\Fields\Email
- \MvcCore\Ext\Forms\Fields\Password
- \MvcCore\Ext\Forms\Fields\Search
- \MvcCore\Ext\Forms\Fields\Tel
- \MvcCore\Ext\Forms\Fields\Url
- \MvcCore\Ext\Forms\Fields\Textarea
- \MvcCore\Ext\Forms\FieldsGroup
- \MvcCore\Ext\Forms\CheckboxGroup
- \MvcCore\Ext\Forms\RadioGroup |
MvcCore\Ext\Forms\Field\Props\WidthHeight |
Trait for classes:
- \MvcCore\Ext\Forms\Fields\Image |
MvcCore\Ext\Forms\Field\Props\Wrapper |
Trait for classes:
- \MvcCore\Ext\Forms\Fields\Date
- \MvcCore\Ext\Forms\Fields\DateTime
- \MvcCore\Ext\Forms\Fields\Month
- \MvcCore\Ext\Forms\Fields\Time
- \MvcCore\Ext\Forms\Fields\Week
- \MvcCore\Ext\Forms\Fields\File
- \MvcCore\Ext\Forms\Fields\Number
- \MvcCore\Ext\Forms\Fields\Range |
MvcCore\Ext\Forms\Field\Rendering |
Trait for class \MvcCore\Ext\Forms\Field containing field rendering methods. |
MvcCore\Ext\Forms\Field\Setters |
Trait for class \MvcCore\Ext\Forms\Field containing field (mostly
configurable) properties setter methods. |
MvcCore\Ext\Forms\Validators\Files\CheckRequirements |
Responsibility: Check required functions and extensions installed. |
MvcCore\Ext\Forms\Validators\Files\CompleteFiles |
Responsibility: Complete uploaded files from request object. |
MvcCore\Ext\Forms\Validators\Files\ReadAccept |
Responsibility: Read accept configuration and prepare
all mime types and extensions. |
MvcCore\Ext\Forms\Validators\Files\Validations\Bomb |
Responsibility: Detect if uploaded file is not ZIP or PNG bomb. |
MvcCore\Ext\Forms\Validators\Files\Validations\FileAndSize |
Responsibility: |
MvcCore\Ext\Forms\Validators\Files\Validations\MimeTypeAndExtension |
Responsibility: |
MvcCore\Ext\Forms\Validators\Files\Validations\NameAndExtension |
Responsibility: |
MvcCore\Ext\Models\Db\Model\Connection |
|
MvcCore\Ext\Models\Db\Model\DataMethods |
|
MvcCore\Ext\Models\Db\Model\Features |
|
MvcCore\Ext\Models\Db\Model\Manipulation |
|
MvcCore\Ext\Models\Db\Model\MetaData |
|
MvcCore\Ext\Models\Db\Model\Parsers |
|
MvcCore\Ext\Models\Db\Model\Props |
|
MvcCore\Ext\Models\Db\Model\ProviderResource |
|
MvcCore\Ext\Models\Db\Models\MySqls\Features |
|
MvcCore\Ext\Models\Db\Models\MySqls\ProviderResource |
|
MvcCore\Ext\Models\Db\Models\PgSqls\Features |
|
MvcCore\Ext\Models\Db\Models\PgSqls\ProviderResource |
|
MvcCore\Ext\Models\Db\Models\Resources\Features |
|
MvcCore\Ext\Models\Db\Models\SQLites\Features |
|
MvcCore\Ext\Models\Db\Models\SQLites\ProviderResource |
|
MvcCore\Ext\Models\Db\Models\SqlSrvs\Features |
|
MvcCore\Ext\Models\Db\Models\SqlSrvs\ProviderResource |
|
MvcCore\Ext\Models\Db\Providers\Resources\Manipulation |
|
MvcCore\Ext\Models\Db\Providers\Resources\PgSqls\Manipulation |
|
MvcCore\Ext\Routers\Extended |
Responsibility: configurable protected properties with getters and setters,
internal protected properties and internal methods used
in most extended routers implementations bellow.
Trait for classes:
- \MvcCore\Ext\Routers\Media
- \MvcCore\Ext\Routers\Localization
- \MvcCore\Ext\Routers\MediaAndLocalization |
MvcCore\Ext\Routers\Extendeds\Preparing |
Responsibility: configurable protected properties with getters and setters,
internal protected properties and internal methods used
in most extended router implementations bellow.
Trait for classes:
- \MvcCore\Ext\Routers\Media
- \MvcCore\Ext\Routers\Localization
- \MvcCore\Ext\Routers\MediaAndLocalization |
MvcCore\Ext\Routers\Extendeds\PropsGettersSetters |
Responsibility: configurable protected properties with getters and setters,
internal protected properties and internal methods used
in most extended router implementations bellow.
Trait for classes:
- \MvcCore\Ext\Routers\Media
- \MvcCore\Ext\Routers\Localization
- \MvcCore\Ext\Routers\MediaAndLocalization |
MvcCore\Ext\Routers\Extendeds\Redirect |
Responsibility: configurable protected properties with getters and setters,
internal protected properties and internal methods used
in most extended router implementations bellow.
Trait for classes:
- \MvcCore\Ext\Routers\Media
- \MvcCore\Ext\Routers\Localization
- \MvcCore\Ext\Routers\MediaAndLocalization |
MvcCore\Ext\Routers\Extendeds\RedirectHelpers |
Responsibility: configurable protected properties with getters and setters,
internal protected properties and internal methods used
in most extended router implementations bellow.
Trait for classes:
- \MvcCore\Ext\Routers\Media
- \MvcCore\Ext\Routers\Localization
- \MvcCore\Ext\Routers\MediaAndLocalization |
MvcCore\Ext\Routers\Extendeds\Url |
Responsibility: configurable protected properties with getters and setters,
internal protected properties and internal methods used
in most extended router implementations bellow.
Trait for classes:
- \MvcCore\Ext\Routers\Media
- \MvcCore\Ext\Routers\Localization
- \MvcCore\Ext\Routers\MediaAndLocalization |
MvcCore\Ext\Routers\Localization\Preparing |
|
MvcCore\Ext\Routers\Localization\PreRouting |
|
MvcCore\Ext\Routers\Localization\PropsGettersSetters |
|
MvcCore\Ext\Routers\Localization\RedirectSections |
|
MvcCore\Ext\Routers\Localization\RewriteRouting |
|
MvcCore\Ext\Routers\Localization\RewriteRoutingChecks |
|
MvcCore\Ext\Routers\Localization\Routing |
|
MvcCore\Ext\Routers\Localization\UrlByRoute |
|
MvcCore\Ext\Routers\Localization\UrlByRouteSections |
|
MvcCore\Ext\Routers\Localization\UrlByRouteSectionsLocalization |
|
MvcCore\Ext\Routers\Localizations\Route\Instancing |
|
MvcCore\Ext\Routers\Localizations\Route\InternalInits |
|
MvcCore\Ext\Routers\Localizations\Route\Matching |
|
MvcCore\Ext\Routers\Localizations\Route\PropsGettersSetters |
|
MvcCore\Ext\Routers\Localizations\Route\UrlBuilding |
|
MvcCore\Ext\Routers\Media\Preparing |
|
MvcCore\Ext\Routers\Media\PreRouting |
|
MvcCore\Ext\Routers\Media\PropsGettersSetters |
|
MvcCore\Ext\Routers\Media\RedirectSections |
|
MvcCore\Ext\Routers\Media\Routing |
|
MvcCore\Ext\Routers\Media\UrlByRoute |
|
MvcCore\Ext\Routers\Media\UrlByRouteSections |
|
MvcCore\Ext\Routers\Media\UrlByRouteSectionsMedia |
|
MvcCore\Ext\Routers\MediaAndLocalization\RedirectSections |
|
MvcCore\Ext\Routers\MediaAndLocalization\Routing |
|
MvcCore\Ext\Routers\MediaAndLocalization\UrlByRoute |
|
MvcCore\Ext\Routers\MediaAndLocalization\UrlByRouteSections |
|
MvcCore\Ext\Routers\Module\Canonical |
|
MvcCore\Ext\Routers\Module\DomainRouteSetUp |
|
MvcCore\Ext\Routers\Module\DomainRouting |
|
MvcCore\Ext\Routers\Module\PreAndPostRouting |
|
MvcCore\Ext\Routers\Module\Props |
|
MvcCore\Ext\Routers\Module\Redirect |
|
MvcCore\Ext\Routers\Module\RewriteRoutingChecks |
|
MvcCore\Ext\Routers\Module\RouteMethods |
|
MvcCore\Ext\Routers\Module\UrlByQuery |
|
MvcCore\Ext\Routers\Module\UrlByRoute |
|
MvcCore\Ext\Routers\Module\UrlByRouteSections |
|
MvcCore\Ext\Routers\Module\UrlDomain |
|
MvcCore\Ext\Routers\ModuleLocalization\DomainRouteSetUp |
|
MvcCore\Ext\Routers\ModuleLocalization\Redirect |
|
MvcCore\Ext\Routers\ModuleLocalization\RewriteRoutingChecks |
|
MvcCore\Ext\Routers\ModuleLocalization\UrlByRoute |
|
MvcCore\Ext\Routers\ModuleMedia\DomainRouteSetUp |
|
MvcCore\Ext\Routers\ModuleMedia\Redirect |
|
MvcCore\Ext\Routers\ModuleMediaAndLocalization\DomainRouteSetUp |
|
MvcCore\Ext\Routers\ModuleMediaAndLocalization\Redirect |
|
MvcCore\Ext\Routers\Modules\Route\Instancing |
|
MvcCore\Ext\Routers\Modules\Route\Matching |
|
MvcCore\Ext\Routers\Modules\Route\PropsGettersSetters |
|
MvcCore\Ext\Routers\Modules\Route\UrlBuilding |
|
MvcCore\Model\Comparers |
|
MvcCore\Model\Config |
|
MvcCore\Model\Connection |
|
MvcCore\Model\Converters |
|
MvcCore\Model\DataMethods |
|
MvcCore\Model\MagicMethods |
|
MvcCore\Model\MetaData |
|
MvcCore\Model\Parsers |
|
MvcCore\Model\Props |
|
MvcCore\Model\Resource |
|
MvcCore\Request\CollectionsMethods |
|
MvcCore\Request\GettersSetters |
|
MvcCore\Request\Instancing |
|
MvcCore\Request\InternalInits |
|
MvcCore\Request\Props |
|
MvcCore\Response\Content |
|
MvcCore\Response\Cookies |
|
MvcCore\Response\Headers |
|
MvcCore\Response\Instancing |
|
MvcCore\Response\PropsGettersSetters |
|
MvcCore\Route\GettersSetters |
|
MvcCore\Route\Instancing |
|
MvcCore\Route\InternalInits |
|
MvcCore\Route\Matching |
|
MvcCore\Route\Props |
|
MvcCore\Route\UrlBuilding |
|
MvcCore\Router\Canonical |
|
MvcCore\Router\GettersSetters |
|
MvcCore\Router\Instancing |
|
MvcCore\Router\Props |
|
MvcCore\Router\Redirecting |
|
MvcCore\Router\RewriteRouting |
|
MvcCore\Router\RouteMethods |
|
MvcCore\Router\Routing |
|
MvcCore\Router\UrlBuilding |
|
MvcCore\Router\UrlByQuery |
|
MvcCore\Router\UrlByRoutes |
|
MvcCore\Session\Closing |
|
MvcCore\Session\MagicMethods |
|
MvcCore\Session\MetaData |
|
MvcCore\Session\NamespaceMethods |
|
MvcCore\Session\Props |
|
MvcCore\Session\Starting |
|
MvcCore\Tool\Helpers |
|
MvcCore\Tool\Json |
|
MvcCore\Tool\Reflection |
|
MvcCore\Tool\StringConversions |
|
MvcCore\View\DirectoryMethods |
|
MvcCore\View\Escaping |
|
MvcCore\View\GettersSetters |
|
MvcCore\View\LocalMethods |
|
MvcCore\View\MagicMethods |
|
MvcCore\View\Props |
|
MvcCore\View\Rendering |
|
MvcCore\View\UrlHelpers |
|
MvcCore\View\ViewHelpers |
|