/** * Get the actual value * * @param bool $outside Indicate if it's coming from outside (ie if it should be htmlDeOut) * @return mixed */ public function getValue($outside = true) { $val = parent::getValue(); if (!is_null($this->cfg->valueNone) && $val == $this->cfg->valueNone) { return null; } if ($this->cfg->needOut) { if ($outside) { $val = utils::htmlDeOut($val, true); } else { $val = utils::htmlOut($val, true); } } return $val; }