public function entities($value) { return htmlentities($value, ENT_QUOTES, $this->encoding, false); }
/** * Create a HTML button element. * * @param string $value * @param array $attributes * @return string */ public function button($value = null, $attributes = array()) { return '<button' . $this->html->attributes($attributes) . '>' . $this->html->entities($value) . '</button>'; }