/** * Set the default value * * Replaces placeholder tags * * @param string $value */ public function setDefaultValue($value) { $this->_defaultValue = iPhorm::replacePlaceholderValues2($value); }
/** * Set the default value * * Replaces placeholder tags * * @param string $value * @param boolean $replacePlaceholders Whether or not to replace placeholder values */ public function setDefaultValue($value, $replacePlaceholders = true) { $this->_defaultValue = $replacePlaceholders ? iPhorm::replacePlaceholderValues2($value) : $value; }