Version 0.1.12 - Initial logic for auto-loading Collection Views
- Added 'Simple' models, views and collections to be used as defaults when deriving a model, view or collection without other context.
- In _Exo_Helpers
-- Added match_classname()
- Added _Exo_Array_Helpers
-- Added array_collect() and array_collect_unique().
- Added _Exo_Mvc_Helpers.
- Added get_model_collection_classes(), get_collection_model_class(), get_collections_model_classes(), get_models_collections_classes(), get_collection_item_hash().
- In Exo_Main_Base
-- Added PHPDoc @mixins for _Exo_Array_Helpers and _Exo_Mvc_Helpers
- In Exo_Collection_Base:
-- Added get_model_class(), get_item_model_class(), get_declared_model_class(), get_item_hash(), get_model_objects() and get_view_class()-- Renamed to_items() to just items() - (this might get changed again later to something else.)
-- Fixed each() to traverse list of models vs. list of items.
- In Exo_Collection_View_Base:
-- Added get_view_objects() and each()
-- Updated __call() to append to $args before passing to call_user_func_array() when $this->collection is not null and $method_name exists.
- In Exo_Instance_Base:
-- Fixed __call() to capture get_class( $this ) into $class_name.
- In Exo_Model_Base:
- Added get_view_class()
- Set MODEL constants:
-- 'Exo_Simple' for 'Exo_Collection_Base',
-- 'Exo_Simple_Post' for 'Exo_Post_Collection_Base',
- Set COLLECTION constant:
-- 'Exo_Post_Collection' for 'Exo_Post_Collection_View_Base',
-- Renamed to_item() to just item() - (this might get changed again later to something else.)
- In Exo_Post_Base:
-- Removed get_default_view_class() and set_default_view_class()
- In Exo_Post_Collection_Base
-- Added each() and get_item_model_class().
- In Exo_View_Base
-- Modified get_view_type() to call Exo::match_classname() insteaad of doing internally.
-- Added 'exo_view_type' filter to get_view_type().
- In Exo_Post_Collection
-- Removed each()
-- Added get_model_class()
- In _Post_Helpers
-- Changed get_post_view() to call get_view_class() instead of get_default_view_class().
-- Added 'exo_post_model_class' to get_post_model().
-- Added get_post_model_classes() and get_post_collection().
-- Modified get_post_collection_view() to determine it's view class based on the $collection->get_view_class() method.
-- Modified get_post_collection_view() to support receiving array of $post objects or a Exo_Collection_Base object.
- In Exo_Post_Collection_View_Base
-- Dropped each().
- In Exo
-- Called _record_collection_model_classes() in _after_setup_theme_11 hook.
-- Fixed get_queried_view() to pass $wp_the_query->posts to Exo::get_post_collection_view() for $wp_the_query->is_post_type_archive.