* Import von Jugendreisen (www.jugendreisen-spezialist.de)

* CMS-template "sunstar" als Destinationsübersicht für importierte Jugendreisen
* Weitere "rel=nofollow target=_blank
* target="_blank" beachten, wenn Boxen per JS click-Event verlinkt werden
* https://schema.org statt http
* meta itemprop=url auf https://www.sterntours.de geändert
* Startseiten-Content geändert
* "Rote" (nicht verfügbare) Termine auf Suchergebnisseite und Reiseprogrammseiten ausblenden
* Behoben: Fehlermeldung, wenn Start- und Enddatum im Suchfilter nicht eingetragen werden

git-svn-id: http://78.47.251.156/svn/dev/sterntours-3@3320 f459cee4-fb09-11de-96c3-f9c5f16c3c76
This commit is contained in:
uli 2017-03-24 15:37:36 +00:00
parent 1ef1f765f6
commit 077163634e
15 changed files with 510 additions and 18 deletions

View file

@ -270,6 +270,10 @@ class Page
*/
protected $boxDiscount;
/**
* @ORM\Column(type="string", nullable=true)
*/
protected $cmsSettings;
/**
* Set owner
@ -1215,4 +1219,28 @@ class Page
} while ($node = $node->getParent());
return null;
}
/**
* Set cmsSettings
*
* @param string $cmsSettings
*
* @return Page
*/
public function setCmsSettings($cmsSettings)
{
$this->cmsSettings = $cmsSettings;
return $this;
}
/**
* Get cmsSettings
*
* @return string
*/
public function getCmsSettings()
{
return $this->cmsSettings;
}
}

View file

@ -0,0 +1,306 @@
<?php
/**
* @author Ulrich Hecht <ulrich.hecht@hecht-software.de>
* @date 03/24/2017
*/
namespace AppBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* Redirect
*
* @ORM\Table
* @ORM\Entity
*/
class SunstarTravelProgram
{
/**
* @var integer
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* @ORM\GeneratedValue(strategy="IDENTITY")
*/
private $id;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
protected $title;
/**
* @ORM\Column(type="string", nullable=true)
*/
protected $description;
/**
* @ORM\Column(type="string", length=255, nullable=true)
*/
protected $destination;
/**
* @ORM\Column(type="string", length=200, nullable=true)
*/
protected $url;
/**
* @ORM\Column(type="string", length=200, nullable=true)
*/
protected $imageUrl;
/**
* @ORM\Column(type="string", length=20, nullable=true)
*/
protected $duration;
/**
* @ORM\Column(type="float", nullable=true)
*/
protected $minimumPrice;
/**
* @ORM\Column(type="integer", nullable=true)
*/
protected $minimumAge;
/**
* @ORM\Column(type="integer", nullable=true)
*/
protected $maximumAge;
/**
* Get id
*
* @return integer
*/
public function getId()
{
return $this->id;
}
/**
* @param int $id
*/
public function setId(int $id)
{
$this->id = $id;
}
/**
* Set title
*
* @param string $title
*
* @return SunstarTravelProgram
*/
public function setTitle($title)
{
$this->title = $title;
return $this;
}
/**
* Get title
*
* @return string
*/
public function getTitle()
{
return $this->title;
}
/**
* Set description
*
* @param string $description
*
* @return SunstarTravelProgram
*/
public function setDescription($description)
{
$this->description = $description;
return $this;
}
/**
* Get description
*
* @return string
*/
public function getDescription()
{
return $this->description;
}
/**
* Set destination
*
* @param string $destination
*
* @return SunstarTravelProgram
*/
public function setDestination($destination)
{
$this->destination = $destination;
return $this;
}
/**
* Get destination
*
* @return string
*/
public function getDestination()
{
return $this->destination;
}
/**
* Set url
*
* @param string $url
*
* @return SunstarTravelProgram
*/
public function setUrl($url)
{
$this->url = $url;
return $this;
}
/**
* Get url
*
* @return string
*/
public function getUrl()
{
return $this->url;
}
/**
* Set imageUrl
*
* @param string $imageUrl
*
* @return SunstarTravelProgram
*/
public function setImageUrl($imageUrl)
{
$this->imageUrl = $imageUrl;
return $this;
}
/**
* Get imageUrl
*
* @return string
*/
public function getImageUrl()
{
return $this->imageUrl;
}
/**
* Set duration
*
* @param integer $duration
*
* @return SunstarTravelProgram
*/
public function setDuration($duration)
{
$this->duration = $duration;
return $this;
}
/**
* Get duration
*
* @return integer
*/
public function getDuration()
{
return $this->duration;
}
/**
* Set minimumPrice
*
* @param float $minimumPrice
*
* @return SunstarTravelProgram
*/
public function setMinimumPrice($minimumPrice)
{
$this->minimumPrice = $minimumPrice;
return $this;
}
/**
* Get minimumPrice
*
* @return float
*/
public function getMinimumPrice()
{
return $this->minimumPrice;
}
/**
* Set minimumAge
*
* @param integer $minimumAge
*
* @return SunstarTravelProgram
*/
public function setMinimumAge($minimumAge)
{
$this->minimumAge = $minimumAge;
return $this;
}
/**
* Get minimumAge
*
* @return integer
*/
public function getMinimumAge()
{
return $this->minimumAge;
}
/**
* Set maximumAge
*
* @param integer $maximumAge
*
* @return SunstarTravelProgram
*/
public function setMaximumAge($maximumAge)
{
$this->maximumAge = $maximumAge;
return $this;
}
/**
* Get maximumAge
*
* @return integer
*/
public function getMaximumAge()
{
return $this->maximumAge;
}
}

View file

@ -141,7 +141,7 @@ class TravelPeriod
/**
* Set status
*
* @param boolean $status
* @param integer $status
*
* @return TravelPeriod
*/
@ -155,7 +155,7 @@ class TravelPeriod
/**
* Get status
*
* @return boolean
* @return integer
*/
public function getStatus()
{