Car Makes and Models

Car Makes and Models

[ad_1]

To get this product on 50 percent contact me on this link

 

LIVE PREVIEWBUY FOR $16

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

Car Makes and Models - 1

[ad_2]

To get this product on 50 percent contact me on this link

 

Source

Pomento
Logo
Register New Account
Compare items
  • Total (0)
Compare
0
Shopping cart