public function save(PropelPDO $con = null) { if (!$this->getSlug()) { $this->setSlug(PcUtils::slugifyWithUniqueness($this->getTitle(), PcBlogPostPeer::SLUG)); } // check whether the Italian URL has got a leading 'http://' $italianUrl = $this->getItalianUrl(); if ($italianUrl && strpos($italianUrl, 'http:') === FALSE) { $italianUrl = 'http://' . $italianUrl; $this->setItalianUrl($italianUrl); } parent::save($con); }