title ) == '') { throw new Exception( Text::_( 'COM_PHOCAMAPS_ERROR_TITLE_NOT_SET'),500 ); return false; } if (empty($this->alias)) { $this->alias = $this->title; } $this->alias = ApplicationHelper::stringURLSafe($this->alias); if (trim(str_replace('-', '', $this->alias)) == '') { $this->alias = Factory::getDate()->format("Y-m-d-H-i-s"); } return true; } } ?>