Initial commit

Functional, without SSO
This commit is contained in:
Jimmy Monin
2016-09-18 11:03:26 +02:00
commit 57708e3169
253 changed files with 30787 additions and 0 deletions

View File

@ -0,0 +1,46 @@
<?php
namespace AdService\SiteConfig;
abstract class AbstractSiteConfig
{
/**
* Nom du site
* @var string
*/
protected $site_name = "";
/**
* URL du site
* @var string
*/
protected $site_url = "";
/**
* Les devises acceptées par le site.
* @var array
*/
protected $currencies = array("");
/**
* Indique si l'information d'une annonce pro ou particulier est disponible
* dans la liste d'annonce.
* @var bool
*/
protected $pro_visible = true;
/**
* Indique si le site fourni une date par annonce.
* @var bool
*/
protected $has_date = true;
/**
* @param string $name
* @return mixed
*/
public function getOption($name)
{
return isset($this->$name) ? $this->$name : null;
}
}