Ejemplo n.º 1
0
Archivo: Title.php Proyecto: jnjxp/meta
 /**
  * getTitleString
  *
  * @return string
  *
  * @access public
  */
 public function getTitleString()
 {
     $sep = $this->titleSeparator;
     $raw = trim(implode($sep, [implode($sep, $this->titles), $this->siteTitle]), $sep);
     return $this->escaper->html($raw);
 }
Ejemplo n.º 2
0
 /**
  *
  * Static escaping for HTML body and quoted HTML attribute context.
  *
  * @param string $raw The raw string.
  *
  * @return string The escaped string.
  *
  */
 public static function h($raw)
 {
     return static::$escaper->html($raw);
 }