Car makes and models
This is a small package containing only two files.
- Data file, that is an encoded PHP array with the cars and models
- Main class, containing the functions to retrieve the data
This small package helps you start fast with your own small car make and model database. It is very simple to use, here are the functions to use:
/** * Returns car makes * @param int $id OPTIONAL the car make id, returns one record if given * @return array */ public function getMakes($id = null); /** * Returns car models * @param int $makeId OPTIONAL if given, returns the models of a given make * @param int $id OPTIONAL if given, returns one entry. This has priority over makeId * @return array */ public function getModels($makeId = null, $id = null); /** * Searches the database for car makes or models * @param string $keyword The keyword to search for, it is case insensitive * @param int $searchIn A constant to decide where to search. Choose from S_BOTH, S_MAKES, S_MODELS * @param int $makeID OPTIONAL If given, it will only search in given make * @return array */ public function search($keyword = '', $searchIn = self::S_BOTH, $makeID = null);
Main features
- Easy to use
- Easy to implement
- Nice amount of car makes and models
[eltd_button size=”huge-full-width” type=”outline” text=”Download & Demo Links” custom_class=”#” icon_pack=”font_awesome” fa_icon=”” link=”” target=”_blank” color=”” hover_color=”” background_color=”” hover_background_color=”” border_color=”” hover_border_color=”” font_size=”” font_weight=”” margin=””]
Demo = Car Makes and Models
[eltd_button size=”huge” type=”” text=”Full Live Demo” custom_class=”” icon_pack=”font_awesome” fa_icon=”fa-laptop” link=”https://codecanyon.net/item/car-makes-and-models/10960058″ target=”_blank” color=”” hover_color=”” background_color=”” hover_background_color=”” border_color=”” hover_border_color=”” font_size=”” font_weight=”” margin=””]
Kindly Note: We update new contents like WordPress Themes, Plugins, PHP Scripts everyday. But remember that you should never use this items in a commercial website. All the contents posted here for development & testing purpose only. We’re not responsible for any damage, use at your own RISK! We highly recommend to buy Car Makes and Models from the The Developer ( Atilla_ordog ) website. Thank you.
Download = Car Makes and Models-[Updated].zip