2 /* This file is part of Syj, Copyright (c) 2010 Arnaud Renevier,
3 and is published under the AGPL license. */
5 class Syj_Model_Path extends Syj_Model_Generic
13 public function setId($id) {
14 $this->_id = (int) $id;
18 public function getId() {
22 public function setGeom(gisconverter\Geometry $geom) {
27 public function getGeom() {
31 public function setOwner(Syj_Model_User $owner) {
32 $this->_owner = $owner;
36 public function getOwner() {
40 public function setTitle($title) {
41 $this->_title = (string) $title;
45 public function getTitle() {
49 public function getDisplayTitle() {
52 } else if ($this->_id) {
53 return "journey number " . (string)$this->_id;
59 public function setUrlComp($_urlcomp) {
60 $this->_urlcomp = (string) $_urlcomp;
64 public function getUrlComp() {
65 return $this->_urlcomp;