See Release Notes
Long Term Support Release
Framework mapper.
Copyright: | 2016 Frédéric Massart - FMCorz.net |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 189 lines (5 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
framework_mapper:: (14 methods):
__construct()
add_mapping()
automap()
get_all_from()
get_all_to()
get_collection_from()
get_collection_to()
get_mappings()
get_unmapped_from()
get_unmapped_objects_from()
get_unmapped_to()
get_unmapped_objects_to()
has_mappings()
reset_mappings()
Class: framework_mapper - X-Ref
Framework mapper class.__construct($from, $to) X-Ref |
Constructor. param: int $from Framework ID from. param: int $to Framework ID to. |
add_mapping($idfrom, $idto) X-Ref |
Add a mapping. param: int $idfrom From ID. param: int $idto To ID. |
automap() X-Ref |
Auto map the frameworks. return: void |
get_all_from() X-Ref |
Get all IDs at origin. return: array |
get_all_to() X-Ref |
Get all IDs at destination. return: array |
get_collection_from() X-Ref |
Get the collection at origin. return: array |
get_collection_to() X-Ref |
Get the collection at destination. return: array |
get_mappings() X-Ref |
Get the defined mappings. return: array |
get_unmapped_from() X-Ref |
Get the IDs of the objects at origin which do not have a mapping at destination. return: array |
get_unmapped_objects_from() X-Ref |
Get the origin objects with missing mappings. return: array |
get_unmapped_to() X-Ref |
Get the IDs of the objects at destination which do not have a mapping at origin. return: array |
get_unmapped_objects_to() X-Ref |
Get the destination objects with missing mappings. return: array |
has_mappings() X-Ref |
Whether some mappings were set. return: bool |
reset_mappings() X-Ref |
Reset the mappings. return: void |