Ejemplo n.º 1
0
 /**
  * Runs $text through a Markdown translator, then a SmartyPants translator,
  * returning the translated text.
  *
  * @param string $text The text to translate.
  * @return string The translated text.
  * @access public
  * @static
  */
 public static function smartdown($text)
 {
     $result = BedrockString::markdown($text);
     $result = BedrockString::smartypants($result);
     return $result;
 }
Ejemplo n.º 2
0
 public function makePlural($number, $word)
 {
     return BedrockString::makePlural($number, $word);
 }