Download the PHP package thelia/dealer-module without Composer

On this page you can find all versions of the php package thelia/dealer-module. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package dealer-module

Dealer 2.4.2

Scrutinizer Code Quality

author : Penalver Antony [email protected]

This module Thelia generate CRUD interface for dealer.

Compatibility

Thelia >= 2.1.3 Developped for : Thelia 2.2.1

Installation

Manually

Composer

Add it in your main thelia composer.json file

Usage

You can find main Dealer interface on modules admin menu.

Loop

DealerLoop

Input arguments

Argument Description
id filter by id
city filter by city
country_id filter by country
order order result by "id","id-reverse","date","date-reverse"

Output arguments

Variable Description
$ID id
$TITLE Name
$ADDRESS1 First element address
$ADDRESS2 Second element address
$ADDRESS3 Third element address
$ZIPCODE Address zip code
$CITY City name
$COUNTRY_ID Country id-reverse
$DESCRIPTION Dealer description
$LAT Latitude
$LON Longitude
$CREATE_DATE Creation date
$UPDATE_DATE Last update date

ContactLoop

Input arguments

Argument Description
id filter by id
dealer_id filter by dealer
order order result by "id","id-reverse","label","label-reverse"

Output arguments

Variable Description
$ID id
$DEALER_ID Associated Dealer id
$IS_DEFAULT Boolean
$LABEL Contact group name

ContactInfoLoop

Input arguments

Argument Description
id filter by id
contact_id filter by contact
order order result by "id","id-reverse","value","value-reverse"

Output arguments

Variable Description
$ID id
$CONTACT_ID Associated Contact id
$CONTACT_TYPE Contact type
$CONTACT_TYPE_ID Contact type id
$VALUE Contact value

SchedulesLoop

Input arguments

Argument Description
id filter by id
dealer_id filter by dealer
default_period boolean filter by default schedule
hide_past boolean for hide past schedules (default: false)
closed boolean for closed or open schedule (default: false)
day filter by day
order order result by "id","id-reverse","day","day-reverse","begin","begin-reverse","period-begin","period-begin-reverse"

Output arguments

Variable Description
$ID id
$DEALER_ID Associated Dealer id
$DAY Day value
$DAY_LABEL Day label
$BEGIN Schedules start
$END Schedules end
$PERIOD_BEGIN Schedules period start
$PERIOD_END Schedules period end

RegularSchedulesLoop

Input arguments

Argument Description
id filter by id
dealer_id filter by dealer
day filter by day
hour_separator separator between hours for ouput formatted_hours (default: ' - ')
half_day_separator separator between half day for ouput formatted_hours (default: ' / ')
merge_day boolean to allow concatenated hours of schedule with the same day (default: true)
order order result by "id","id-reverse","day","day-reverse","begin","begin-reverse"

Output arguments

Variable Description
$ID id
$DEALER_ID Associated Dealer id
$DAY Day value
$DAY_LABEL Day label
$BEGIN Schedules start
$END Schedules end (end of the afternoon when merge_day input argument is true
$FORMATTED_HOURS Formatted hours when merge_day input argument is true

ExtraSchedulesLoop

Input arguments

Argument Description
id filter by id
dealer_id filter by dealer
day filter by day
hour_separator separator between hours for ouput formatted_hours (default: ' - ')
half_day_separator separator between half day for ouput formatted_hours (default: ' / ')
merge_day boolean to allow concatenated hours of schedule with the same periods (default = true)
hide_past boolean for hide past schedules (default: false)
closed boolean for closed or open schedule (default: false)
order order result by "id","id-reverse","day","day-reverse","begin","begin-reverse","period-begin","period-begin-reverse"

All versions of dealer-module with dependencies

PHP Build Version
Package Version
Requires thelia/installer Version ~1.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package thelia/dealer-module contains the following files

Loading the files please wait ....