html::specialchars PHP Method

specialchars() public static method

public static specialchars ( $value )
    public static function specialchars($value)
    {
        return htmlspecialchars($value, ENT_QUOTES, static::encoding(), false);
    }

Usage Example

 function __construct()
 {
     parent::__construct("feed");
     /* Set feed ID and self link. */
     $this->id(html::specialchars(url::abs_current()));
     $this->link()->rel("self")->href(url::abs_current());
 }
All Usage Examples Of html::specialchars