protected function explodeText($text)
    {
        $delimiter = $this->config('teaser_delimiter', '<!--teaser-->');
        $text = str_replace(htmlspecialchars($delimiter), $delimiter, $text);
        $parts = array_filter(array_map('trim', explode($delimiter, $text, 2)));

        return array_pad($parts, 2, '');
    }
protected function explodeText($text)
    {
        $delimiter = $this->config('teaser_delimiter', '<!--teaser-->');
        $text = str_replace(htmlspecialchars($delimiter), $delimiter, $text);
        $parts = array_filter(array_map('trim', explode($delimiter, $text, 2)));

        return array_pad($parts, 2, '');
    }
protected function explodeText ( $ text ) { $ delimiter = $ this -> config ( 'teaser_delimiter' , '<!--teaser-->' ) ; $ text = str_replace ( htmlspecialchars ( $ delimiter ) , $ delimiter , $ text ) ; $ parts = array_filter ( array_map ( 'trim' , explode ( $ delimiter , $ text , 2 ) ) ) ; return array_pad ( $ parts , 2 , '' ) ; }
Explodes a text by teaser and full text
@param string $text
@return array
Explodes a text by teaser and full text