/** * getter for filtered param * @param string $name * @return mixed * @throws Exception */ public function __get($name = "") { try { $value = $this->getParamDirect($name); // multilang get if ($name != "*" && !array_key_exists($name, $this->params)) { $value = $this->getParamDirect($this->getColNameLNGCurrent($name)); } if ($this->outputFilter instanceof LBoxOutputFilter) { return $this->outputFilter->prepare($name, $value); } else { return $value; } } catch (Exception $e) { throw $e; } }
/** * Vraci attributy * @param string $name * @throws LBoxExceptionConfig */ public function __get($name = "") { switch ($name) { default: $value = $this->getParamDirect($name); if ($this->outputFilter instanceof LBoxOutputFilter) { return $this->outputFilter->prepare($name, $value); } else { return $value; } } }
/** * filtrovany getter * @return mixed */ public function __get($name = "") { try { if ($this->outputFilter instanceof LBoxOutputFilter) { return $this->outputFilter->prepare($name, $this->getParamDirect($name)); } else { return $this->getParamDirect($name); } } catch (Exception $e) { throw $e; } }
/** * getter na filtrovane atributy * @param string $name * @return mixed */ public function __get($name = "") { try { if (strlen($name) < 1) { throw new LBoxExceptionFront(LBoxExceptionPaging::MSG_PARAM_STRING_NOTNULL, LBoxExceptionPaging::CODE_BAD_PARAM); } if ($this->outputFilter instanceof LBoxOutputFilter) { return $this->outputFilter->prepare($name, $this->getParamDirect($name)); } else { return $this->getParamDirect($name); } } catch (Exception $e) { throw $e; } }