public function getOnEmptyText()
    {
        static $warned;

        $dir = $this->getPath(false, 'index');

        if (! is_dir($dir)) {
            try {
                \MUtil_File::ensureDir($dir);

            } catch (\Zend_Exception $e) {
                $text = $e->getMessage();

                if (! $warned) {
                    $warned = true;
                    $this->addMessage($text);
                }
                return $text;
            }
        }

        return parent::getOnEmptyText();
    }
public function getOnEmptyText()
    {
        static $warned;

        $dir = $this->getPath(false, 'index');

        if (! is_dir($dir)) {
            try {
                \MUtil_File::ensureDir($dir);

            } catch (\Zend_Exception $e) {
                $text = $e->getMessage();

                if (! $warned) {
                    $warned = true;
                    $this->addMessage($text);
                }
                return $text;
            }
        }

        return parent::getOnEmptyText();
    }
public function getOnEmptyText ( ) { static $ warned ; $ dir = $ this -> getPath ( false , 'index' ) ; if ( ! is_dir ( $ dir ) ) { try { \ MUtil_File :: ensureDir ( $ dir ) ; } catch ( \ Zend_Exception $ e ) { $ text = $ e -> getMessage ( ) ; if ( ! $ warned ) { $ warned = true ; $ this -> addMessage ( $ text ) ; } return $ text ; } } return parent :: getOnEmptyText ( ) ; }
Returns the on empty texts for the autofilter snippets

@static boolean $warned Listen very closely. I shall tell this only once!
@return string
Returns the on empty texts for the autofilter snippets