| @@ 73-82 (lines=10) @@ | ||
| 70 | * @param string $format | |
| 71 | * @return mixed | |
| 72 | */ | |
| 73 | public function name($format = 'S') | |
| 74 |     { | |
| 75 |         $ret = $this->getVar('name', $format); | |
| 76 |         if (($format === 's') || ($format === 'S') || ($format === 'show')) { | |
| 77 | $myts = MyTextSanitizer::getInstance(); | |
| 78 | $ret = $myts->displayTarea($ret); | |
| 79 | } | |
| 80 | ||
| 81 | return $ret; | |
| 82 | } | |
| 83 | ||
| 84 | /** | |
| 85 | * @param string $format | |
| @@ 173-182 (lines=10) @@ | ||
| 170 | * @param string $format | |
| 171 | * @return mixed | |
| 172 | */ | |
| 173 | public function title($format = 'S') | |
| 174 |     { | |
| 175 |         $ret = $this->getVar('title', $format); | |
| 176 |         if (($format === 's') || ($format === 'S') || ($format === 'show')) { | |
| 177 | $myts = MyTextSanitizer::getInstance(); | |
| 178 | $ret = $myts->displayTarea($ret); | |
| 179 | } | |
| 180 | ||
| 181 | return $ret; | |
| 182 | } | |
| 183 | ||
| 184 | /** | |
| 185 | * @param string $format | |
| @@ 231-240 (lines=10) @@ | ||
| 228 | * @param string $format | |
| 229 | * @return mixed | |
| 230 | */ | |
| 231 | public function contact_name($format = 'S') | |
| 232 |     { | |
| 233 |         $ret = $this->getVar('contact_name', $format); | |
| 234 |         if (($format === 's') || ($format === 'S') || ($format === 'show')) { | |
| 235 | $myts = MyTextSanitizer::getInstance(); | |
| 236 | $ret = $myts->displayTarea($ret); | |
| 237 | } | |
| 238 | ||
| 239 | return $ret; | |
| 240 | } | |
| 241 | ||
| 242 | /** | |
| 243 | * @param string $format | |
| @@ 246-255 (lines=10) @@ | ||
| 243 | * @param string $format | |
| 244 | * @return mixed | |
| 245 | */ | |
| 246 | public function contact_email($format = 'S') | |
| 247 |     { | |
| 248 |         $ret = $this->getVar('contact_email', $format); | |
| 249 |         if (($format === 's') || ($format === 'S') || ($format === 'show')) { | |
| 250 | $myts = MyTextSanitizer::getInstance(); | |
| 251 | $ret = $myts->displayTarea($ret); | |
| 252 | } | |
| 253 | ||
| 254 | return $ret; | |
| 255 | } | |
| 256 | ||
| 257 | /** | |
| 258 | * @param string $format | |
| @@ 261-270 (lines=10) @@ | ||
| 258 | * @param string $format | |
| 259 | * @return mixed | |
| 260 | */ | |
| 261 | public function contact_phone($format = 'S') | |
| 262 |     { | |
| 263 |         $ret = $this->getVar('contact_phone', $format); | |
| 264 |         if (($format === 's') || ($format === 'S') || ($format === 'show')) { | |
| 265 | $myts = MyTextSanitizer::getInstance(); | |
| 266 | $ret = $myts->displayTarea($ret); | |
| 267 | } | |
| 268 | ||
| 269 | return $ret; | |
| 270 | } | |
| 271 | ||
| 272 | /** | |
| 273 | * @param string $format | |