Version 0.1.11 - Initial Enabling of Auto-Generation of Views for Templates
- Added get_queried_view() to Exo analogous to WordPress' get_queried_object(). Only implemented $post use-cases; other use-cases (taxonomy terms, authors, etc.) will come later.
- Added extract( $GLOBALS ) to template loader with optional EXO_DISABLE_TEMPLATE_GLOBALS constant.
- Added Exo_Post_View_Base with a get_template_part_fallbacks() method and a MODEL constant of Exo_Post_Base.
- Changed Exo_Post_View to inherit from Exo_Post_View_Base instead of Exo_View_Base.
- Added PHPDoc @mixin Exo_Post to Exo_Post_View.
- Created Exo_Post_Collection_View_Base with COLLECTION constant, and moved VIEW_TYPE constant and __construct() and each() methods from Exo_Post_Collection_View.
- Changed Exo_Post_Collection_View to inherit from Exo_Post_Collection_View_Base instead of Exo_Collection_View_Base and removed VIEW_TYPE constant and __construct() and each() methods.
- Added _Exo_Taxonomy_Helpers with methods get_exo_taxonomies(), set_exo_taxonomies() and not-yet-implemented get_taxonomy_term_view().
- Added get_post_view(), get_post_model() and not-yet-implemented get_post_collection_view() to _Exo_Post_Helpers, removed "if ( ! is_array( $args ) ) {...}" wrapping wp_parse_args() in _register_post_type(), and fixed the assignment of the post type args in _record_post_types().
- Added method get_model_class() and a default get_template_part_fallbacks(), enhanced get_view_type() to derive from class name if not set, made (_)get_template_part_possibilities() private, added fallback template parts to _get_template_part_possibilities() and added the filters 'exo_template_part_fallbacks' and 'exo_template_part_possibilities' to Exo_View_Base.
- Added get_default_view_class(), set_default_view_class() and get_post() to Exo_Post_Base.
- Added PHPDoc @mixin _Exo_Taxonomy_Helpers to Exo_Main_Base.