public function listMessages()
    {
        $folder = $this->_path.SEPARATOR.$this->_directory.SEPARATOR."messages";
        $messages = array_slice(scandir($folder), 2);
        foreach ($messages as &$msg) {
            $msg = str_replace('.xml', '', $msg);
        }
        return $messages;
    }
public function listMessages()
    {
        $folder = $this->_path.SEPARATOR.$this->_directory.SEPARATOR."messages";
        $messages = array_slice(scandir($folder), 2);
        foreach ($messages as &$msg) {
            $msg = str_replace('.xml', '', $msg);
        }
        return $messages;
    }
public function listMessages ( ) { $ folder = $ this -> _path . SEPARATOR . $ this -> _directory . SEPARATOR . "messages" ; $ messages = array_slice ( scandir ( $ folder ) , 2 ) ; foreach ( $ messages as & $ msg ) { $ msg = str_replace ( '.xml' , '' , $ msg ) ; } return $ messages ; }
Get message names from folder in this directory

@return array
Get message names from folder in this directory