Пример #1
0
 /**
  * Consctructeur
  * @param string $p_sReleaseName Nom de la release à scrapper
  * @param string $p_iReleaseId ID de la release à scrapper
  */
 public function __construct($p_sReleaseName, $p_iReleaseId)
 {
     parent::__construct();
     $this->sReleaseName = strtr(strtolower($p_sReleaseName), " ", ".");
     $this->sReleaseName = strtr($this->sReleaseName, "_", ".");
     $this->sReleaseName = html_entity_decode($this->sReleaseName);
     $this->iReleaseId = $p_iReleaseId;
     $this->oRelease = new Release($this->sReleaseName);
     $this->oRelease->parseRelease();
 }