| 1 | <?php |
||
| 16 | class Tag extends AbstractEntity |
||
| 17 | { |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Title |
||
| 21 | * |
||
| 22 | * @var string |
||
| 23 | * @db |
||
| 24 | */ |
||
| 25 | protected $title; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * Slug |
||
| 29 | * |
||
| 30 | * @var string |
||
| 31 | * @db |
||
| 32 | */ |
||
| 33 | protected $slug; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Link |
||
| 37 | * |
||
| 38 | * @var string |
||
| 39 | * @db |
||
| 40 | */ |
||
| 41 | protected $link; |
||
| 42 | |||
| 43 | /** |
||
| 44 | * Valuation |
||
| 45 | * |
||
| 46 | * @var float |
||
| 47 | * @db |
||
| 48 | */ |
||
| 49 | protected $valuation; |
||
| 50 | |||
| 51 | /** |
||
| 52 | * Content |
||
| 53 | * |
||
| 54 | * @var string |
||
| 55 | * @db |
||
| 56 | */ |
||
| 57 | protected $content; |
||
| 58 | |||
| 59 | /** |
||
| 60 | * Get title |
||
| 61 | * |
||
| 62 | * @return string |
||
| 63 | */ |
||
| 64 | public function getTitle() |
||
| 68 | |||
| 69 | /** |
||
| 70 | * Get slug |
||
| 71 | * |
||
| 72 | * @return string |
||
| 73 | */ |
||
| 74 | public function getSlug() |
||
| 78 | |||
| 79 | /** |
||
| 80 | * Get link |
||
| 81 | * |
||
| 82 | * @return string |
||
| 83 | */ |
||
| 84 | public function getLink() |
||
| 91 | |||
| 92 | /** |
||
| 93 | * Get valuation |
||
| 94 | * |
||
| 95 | * @return float |
||
| 96 | */ |
||
| 97 | public function getValuation() |
||
| 101 | |||
| 102 | /** |
||
| 103 | * Get content |
||
| 104 | * |
||
| 105 | * @return string |
||
| 106 | */ |
||
| 107 | public function getContent() |
||
| 111 | |||
| 112 | /** |
||
| 113 | * Set title |
||
| 114 | * |
||
| 115 | * @param string $title |
||
| 116 | */ |
||
| 117 | public function setTitle($title) |
||
| 121 | |||
| 122 | /** |
||
| 123 | * Set slug |
||
| 124 | * |
||
| 125 | * @param string $slug |
||
| 126 | */ |
||
| 127 | public function setSlug($slug) |
||
| 131 | |||
| 132 | /** |
||
| 133 | * Set link |
||
| 134 | * |
||
| 135 | * @param string $link |
||
| 136 | */ |
||
| 137 | public function setLink($link) |
||
| 141 | |||
| 142 | /** |
||
| 143 | * Set valuation |
||
| 144 | * |
||
| 145 | * @param float $valuation |
||
| 146 | */ |
||
| 147 | public function setValuation($valuation) |
||
| 151 | |||
| 152 | /** |
||
| 153 | * Set content |
||
| 154 | * |
||
| 155 | * @param string $content |
||
| 156 | */ |
||
| 157 | public function setContent($content) |
||
| 161 | |||
| 162 | /** |
||
| 163 | * Get the real valuation for the tag cloud generator |
||
| 164 | * |
||
| 165 | * @return integer |
||
| 166 | */ |
||
| 167 | public function getValuationSize() |
||
| 171 | } |
||
| 172 |