Classes

\Strata

Name Description
Strata Running Strata instance EMPTY

\Strata\Controller

Name Description
Controller Base controller class. EMPTY
Request Handles safe access to HTTP request data, whether from POST, GET, files or cookies. EMPTY

\Strata\Controller\Loader

Name Description
HelperLoader Allows the automation of Helpers loading on a specified Controller object. EMPTY
ShortcodeLoader Automated the declaration of Wordpress Shortcodes within a Strata Controller object. EMPTY

\Strata\Core

Name Description
StrataContext Contains all the static methods related to the Strata app object. EMPTY

\Strata\Error

Name Description
BaseErrorHandler The base error handler of Strata code. This is very much so based on CakePHP's method. EMPTY
ErrorDebugger The object that helps representing the errors visually. EMPTY
ErrorLogger The object that helps representing the errors visually in the logs. EMPTY

\Strata\I18n

Name Description
Locale A localized language object that contains custom configuration and a language code. EMPTY
WpCode Class to lookup Gettext strings from PHP files that are coded using the slightly different Wordpress translation scheme. EMPTY
WpPhpFunctionsScanner The list of these can be found in Wordpress' MakePot file. EMPTY
i18n Handles code localization using Gettext for PHP. EMPTY

\Strata\Logger

Name Description
ConsoleLogger No description available EMPTY
Debugger No description available EMPTY
FileLogger No description available EMPTY
LoggerBase Log messages to the application's log file. EMPTY
NullLogger No description available EMPTY

\Strata\Middleware

Name Description
Middleware The base Middleware class. EMPTY
MiddlewareLoader Allows bridging between Strata and its middlewares. EMPTY

\Strata\Model

Name Description
Mailer The mailer object attempts to simplify the generation of application emails. EMPTY
Model A base class for model objects EMPTY
Post Wraps Wordpress' default Post (of post_type 'post'). EMPTY
User Wraps User default objects. EMPTY
UserQuery The query is a cache of filters that will be eventually sent to WP_User_Query. It allows chaining and object-oriented manipulations of database queries. EMPTY
WordpressEntity A class that wraps around Wordpress' object's common concepts. EMPTY

\Strata\Model\CustomPostType

Name Description
CustomPostType A class that wraps around Wordpress' custom post types. EMPTY
CustomPostTypeLoader Loads Custom Post Types objects based on the loader's configuration. EMPTY
LabelParser Based on model configuration and the model class name, generates a list of Wordpress labels automatically. EMPTY
ModelEntity A ModelEntity can vaguely be seen as a table row. It is a class that wraps around a Model instance. EMPTY
Query The query is a cache of filters that will be eventually sent to WP_Query. It allows chaining and object-oriented manipulations of database queries. EMPTY

\Strata\Model\CustomPostType\Registrar

Name Description
CustomPostTypeAdminMenuRegistrar Registers autoloaded Models' sub menu pages. EMPTY
CustomPostTypeRegistrar Registers a custom post type based on a Models' configuration. EMPTY
Registrar A custom post type registrar. Based on a model entity, it attempts to automate the configuration and registration of custom post types. EMPTY
TaxonomyRegistrar Registers a taxonomy based on a Models' configuration. EMPTY

\Strata\Model\Taxonomy

Name Description
Category Placeholder for post categories EMPTY
Taxonomy A class that wraps around Wordpress' taxonomies. EMPTY
TaxonomyQuery The query is a cache of filters that will be eventually sent to get_terms. It allows chaining and object-oriented manipulations of database queries. EMPTY

\Strata\Model\Validator

Name Description
BetweenValidator No description available EMPTY
EmailValidator No description available EMPTY
InValidator No description available EMPTY
LengthValidator No description available EMPTY
NumericValidator No description available EMPTY
PostalcodeValidator No description available EMPTY
PostexistValidator No description available EMPTY
RegexValidator No description available EMPTY
RequiredValidator No description available EMPTY
SameValidator No description available EMPTY
Validator A base class for Validator objects. EMPTY

\Strata\Router

Name Description
Rewriter Declares new rewrite rules within Wordpress EMPTY
Router Assigns callback handlers based on the possible different contexts. EMPTY

\Strata\Router\Registrar

Name Description
CustomPostTypeRouteMaker Registers rewrite rules defined in model configuration files. EMPTY
ModelRewriteRegistrar Registers rewrite rules defined in model configuration files. EMPTY
PageRouteMaker Registers rewrite rules defined in model configuration files. EMPTY
RouteMakerBase Registers rewrite rules defined in model configuration files. EMPTY

\Strata\Router\RouteParser

Name Description
Route A route is an object that can be mapped out to a MVC request. EMPTY

\Strata\Router\RouteParser\Callback

Name Description
CallbackRoute No description available EMPTY
CallbackRouter Maps Wordpress actions, filters and callbacks to Strata classes EMPTY

\Strata\Router\RouteParser\Url

Name Description
UrlRoute Handles routes generated from REST requests. EMPTY
UrlRouter Maps Wordpress urls to Strata classes EMPTY

\Strata\Security

Name Description
CommentParser Wordpress comments, by default, allows one to inject javascript and weird HTML that may break a website. EMPTY
ImprovementBase Base class for all the objects that secure or standardize the Wordpress installation. EMPTY
Security Assigns callbacks to common Wordpress functions that needs additional security EMPTY
TimezoneSetter Sets a default timezone value in the current PHP process. EMPTY
XssHandler Enforces triggers that warn browsers to be wary of XSS attacks. EMPTY

\Strata\Shell

Name Description
Shell A factory that build the Strata command line application. EMPTY

\Strata\Shell\Command

Name Description
ConsoleCommand Starts the Strata Console Shell. This console is expected to debug a project code from the command line. EMPTY
DBCommand Automates Strata's database manipulation operations. EMPTY
DocumentationCommand Automates Strata's Documentation. EMPTY
EnvCommand Automates Strata self-maintaining scripts. EMPTY
GenerateCommand Automates repetitive creation of code files. It validates the class names and file locations based on the set of guidelines promoted by Strata. EMPTY
I18nCommand Automates Strata's localization actions. EMPTY
ServerCommand Starts the Strata Server Shell. This server is expected to understand the differences in configuration between a Vagrant environment and cases when it runs using the current computer's binaries. EMPTY
StrataCommandBase Base class for Shell Command reflection. EMPTY
StrataCommandNamer Base class for Shell Command reflection. EMPTY
TestCommand Starts the project's test suite. EMPTY

\Strata\Shell\Command\Generator

Name Description
ClassWriter Generates classes files within Strata. EMPTY
CommandGenerator Generates a Strata shell command EMPTY
ControllerGenerator Generates a Strata controller EMPTY
CustomPostTypeGenerator Generates a Strata custom post type EMPTY
GeneratorBase Automates repetitive creation of code files. It validates the class names and file locations based on the set of guidelines promoted by Strata. EMPTY
HelperGenerator Generates a Strata view helper EMPTY
MiddlewareGenerator Generates a Strata middleware EMPTY
ModelGenerator Generates a Strata model EMPTY
TaxonomyGenerator Generates a Strata taxonomy class EMPTY
ValidatorGenerator Generates a Strata model entity validator EMPTY

\Strata\Shell\Command\Registrar

Name Description
MiddlewareCommandRegistrar Registers shell commands that may have been added by middlewares loaded by the application. EMPTY
ProjectCommandRegistrar Registers commands declared at the project level. EMPTY
StrataCommandRegistrar Registers commands declared at Strata's level. EMPTY

\Strata\Test

Name Description
Test A class to contain test cases and run them with shared fixtures EMPTY

\Strata\Utility

Name Description
Hash Library of array functions for manipulating and extracting data from arrays or 'sets' of data. EMPTY
Inflector Pluralize and singularize English words. EMPTY
StringUtility String handling methods. EMPTY

\Strata\View

Name Description
Template The template object is used to generate views. EMPTY
View Handles the generation of view html. It is important to understand this is not used when a request continues the regular Wordpress flow which generates its own templates. EMPTY

\Strata\View\Helper

Name Description
FormHelper The FormHelper is an objects that helps create forms in the view files. EMPTY
Helper A base class for ViewHelper objects EMPTY