private function _createBadWordTable()
    {
        // get l10n configuration for strings
        $config = $this->getConfiguration();

        // create empty table
        $this->_badWordTable = [];

        // split list of bad words into array ...
        $badWords = explode(',', $config->words->badwords);

        // ... and process
        foreach ($badWords as $badWord) {
            $this->_badWordTable[] = trim($badWord);
        }
    }
private function _createBadWordTable()
    {
        // get l10n configuration for strings
        $config = $this->getConfiguration();

        // create empty table
        $this->_badWordTable = [];

        // split list of bad words into array ...
        $badWords = explode(',', $config->words->badwords);

        // ... and process
        foreach ($badWords as $badWord) {
            $this->_badWordTable[] = trim($badWord);
        }
    }
private function _createBadWordTable ( ) { // get l10n configuration for strings $ config = $ this -> getConfiguration ( ) ; // create empty table $ this -> _badWordTable = [ ] ; // split list of bad words into array ... $ badWords = explode ( ',' , $ config -> words -> badwords ) ; // ... and process foreach ( $ badWords as $ badWord ) { $ this -> _badWordTable [ ] = trim ( $ badWord ) ; } }
This method is intend to create the bad-word table.

@author Benjamin Carl <opensource@clickalicious.de>
This method is intend to create the bad - word table .