pgroot91 / codeigniter-adf-xml

Submit Auto-Lead data using ADF XML, the industry standard data format

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CodeIgniter ADF XML

Submit Auto-Lead data using ADF XML, the industry standard data format.

Installation

Download and merge the application folder into your project.

Update application/config/adf.php

Usage

$this->load->library('adf');

$this->adf->customer('John Doe');

$this->adf->send();

Example

$this->adf->vehicle(array(
	'year' => '1967',
	'make' => 'Chevrolet',
	'model' => 'Camaro',
	'comments' => 'This is a vehicle comment.'
	), 'buy', 'used');

//$this->adf->customer('John Doe');
$this->adf->customer(array(
	'first' => 'John', 'last' => 'Doe'
	), 'This is a customer comment.');

$this->adf->email('noreply@fakemail.fake');

$this->adf->phone('111555555', 'voice', 'day');
$this->adf->phone('222555555', 'voice', 'evening');

$this->adf->address(array(
	'street' => '123 Easy Street',
	'postalcode' => '12345'
	), 'home');

About

Submit Auto-Lead data using ADF XML, the industry standard data format

License:MIT License


Languages

Language:PHP 100.0%