コード例 #1
0
ファイル: Text.php プロジェクト: mage2pro/core
 /**
  * @param string $text
  * @return string[]
  */
 public function parseTextarea($text)
 {
     return df_clean(df_trim(df_explode_n(df_trim($text))));
 }
コード例 #2
0
ファイル: Regex.php プロジェクト: mage2pro/core
 /** @return string[] */
 private function getSubjectSplitted()
 {
     if (!isset($this->{__METHOD__})) {
         $this->{__METHOD__} = df_explode_n($this->getSubject());
     }
     return $this->{__METHOD__};
 }
コード例 #3
0
ファイル: text.php プロジェクト: mage2pro/core
/**
 * @param string $text
 * @return string
 */
function df_tab_multiline($text)
{
    return df_cc_n(df_tab(df_explode_n($text)));
}