Plugin / WP MVC

Tom Benner

Changelog

Changelog

= 1.3.20 –

  • Composer cleanup
  • New HTML5 input fields (time, date, url, email)

1.3.19

  • Tested with 5.2
  • Minor admin html/code fixes

1.3.18

  • Tested with 5.1

1.3.17

  • Tested with 5.0

1.3.16

  • Replace create_function (deprecated in php 7.2.0) with lambda function
  • Improve ability to override views from template files

1.3.15

  • Cache describe table queries
  • Minor bugfixes

= 1.3.14

  • Define join type (left, right, inner) using the extra_on parameter in find()
  • Added ‘CustomRoutePrefix’ parameter in MvcConfiguration to prepend to URLs
  • Allow child controllers to override magic methods via __call()
  • New method to validate all fields at once and return errors in array

1.3.13

  • Complete the job to only start session in admin

1.3.12

  • Fix null type comparison issue when updating data
  • Only start session in admin
  • Fixed select tag to be able to accept an array of values

1.3.11

  • Ability to specify layouts in routes using 'layout' => 'whatever'
  • Fix for textarea inputs in form helper
  • Added headers not sent check before setting cookies

1.3.10

  • php7 compatibility improvements

1.3.9

  • Added multi-language support

1.3.8

  • Added required input attribute type
  • Slightly better error messages for magic methods

1.3.7

  • Better model validation in admin
  • Modernisation of classes (public/private, constructor)
  • New input type:
    • File input type with enctype attribute
    • Editor field input type
    • Select from model input type
  • Form submit button suppression
  • Optional admin table actions
  • Support for TRUE, FALSE and NULL comparitors in queries
  • Use of umeta_id in user meta model

1.3.6

  • Added required attribute for settings field
  • Resolved errors with static methods on input helpers
  • Decorated tables with striped rows by default
  • Added experimental support for wp_editor input type

1.3.5

  • Allow the form helper to change enctype
  • Added HTML 5 number input type
  • Allow blank value for text inputs
  • Correct total count when grouping in query
  • Preserve table aliases in nested where clauses
  • Apply routes on plugin activation/deactivation (flush rewrite rules)
  • Allow checking for NULL conditions in queries
  • Allow IS and NOW() functions in queries
  • Validate model on creation

1.3.4

  • MvcDispatcher::dispatch() returns a value from controller methods to allow incorpation into widgets
  • Allow custom RouteParams (also allow users to not define any route params without a warning)
  • Allow multiple joins on a single table in has-many relations
  • Fixes to the has-many drop-down menu for remote objects

1.3.3.

  • Resolve conflict with other plugins when session already begun

1.3.2

  • Minor bugfix with undefined var in method-not-found error for models

1.3.1

  • Fixed bug with event calendar example giving error on plugin activation
  • Added support for displaying custom menu icons (change the model $wp_post[‘post_type’][‘args’][‘menu_icon’] to a valid dashicon class name: https://developer.wordpress.org/resource/dashicons/#admin-site )

1.3

  • Added support for high-concurrency, high-traffic websites by refactoring rewrite rule initialization
  • Restructured classes to perform silently with WP_DEBUG set to true

1.2

  • Model objects now have magic properties for accessing their associations (e.g. $event->venue, $event->speakers)
  • Added model classes for most of the native WP tables (e.g. MvcPost, MvcUser), which can be used in the MVC context (e.g. as associations)
  • Support for the automatic creation/updating of a post for each object of a model, so that objects can be commented on, added in menus, etc
  • Support for easily creating admin settings pages through MvcSettings
  • Associations can be dependent (e.g. if List has_many ListItems, when List is deleted, its ListItems can be automatically deleted)
  • Moved configuration of admin menus from model to MvcConfiguration
  • Moved configuration of admin_columns, admin_searchable_fields, and admin_search_joins from the model to the controller
  • The ‘controller’ argument is no longer necessary for MvcRouter URL methods if ‘object’ is given
  • Added a number of filters (e.g. MvcController::before and after, MvcModel::after_create(), ‘mvc_before_public_url’)
  • Added ‘group’ clause to model select queries
  • Added methods for aggregate select queries (e.g. $model->count(), max(), min(), sum(), average())
  • Added MvcFormTagsHelper for creating inputs outside of object-related forms
  • Let MvcModel::create() and save() accept objects
  • Let MvcModel::to_url() optionally accept a second argument ($options)
  • Allowed for a custom ‘parent_slug’ value in an admin menu page config

1.1.5

  • Support for generating, destroying, and registering widgets
  • Added HelpShell
  • Allowed for a custom PHP executable to be set in the environment variable $WPMVC_PHP
  • Allowed for the path to WordPress to be set in the environment variable $WPMVC_WORDPRESS_PATH

Ratings

5
8 reviews

Rating breakdown

Details Information

Version

1.3.20

First Released

10 Apr, 2011

Total Downloads

20,447

Wordpress Version

3.0 or higher

Tested up to:

5.3

Require PHP Version:

-

Tags

Contributors

Languages

The plugin hasn't been transalated in any language other than English.

DIRECTORY DISCLAIMER

The information provided in this THEME/PLUGIN DIRECTORY is made available for information purposes only, and intended to serve as a resource to enable visitors to select a relevant theme or plugin. wpSocket gives no warranty of any kind, express or implied with regard to the information, including without limitation any warranty that the particular theme or plugin that you select is qualified on your situation.

The information in the individual theme or plugin displayed in the Directory is provided by the owners and contributors themselves. wpSocket gives no warranty as to the accuracy of the information and will not be liable to you for any loss or damage suffered by you as a consequence of your reliance on the information.

Links to respective sites are offered to assist in accessing additional information. The links may be outdated or broken. Connect to outside sites at your own risk. The Theme/Plugin Directory does not endorse the content or accuracy of any listing or external website.

While information is made available, no guarantee is given that the details provided are correct, complete or up-to-date.

wpSocket is not related to the theme or plugin, and also not responsible and expressly disclaims all liability for, damages of any kind, arising out of the use, reference to, or reliance on, any information or business listed throughout our site.

Keep Leading Your Followers!
Share it for them.