/** * @param $var * @return array|mixed|Vbf_GuardProxy */ public function __get($var) { $val = $this->obj->{$var}; if ($this->guardAny) { $val = Vbf_Guard::guardAny($val, $this->func); } else { if (is_string($val)) { $val = Vbf_Guard::guardString($val, $this->func); } } return $val; }
<login <?php if ($this->error == null) { ?> success="true" error="" <?php } else { ?> success="false" error="<?php if ($this->error != null) { print_r(Vbf_Guard::guardAnyXml($this->error->getMessage())); } ?> " <?php } ?> ></login>
return $this->frontController->formatUri($uri, $urlencode); } /** * @param $uri * @param bool $urlencode