lib/MwbExporter/Writer/Writer.php
protected function getIndentation()
    {
        if ($this->document) {
            if ($this->document->getConfig()->get(FormatterInterface::CFG_USE_TABS)) {
                $indentation = "\t";
            } else {
                $indentation = str_repeat(' ', $this->document->getConfig()->get(FormatterInterface::CFG_INDENTATION));
            }

            return str_repeat($indentation, $this->indentation);
        }
    }
protected function getIndentation()
    {
        if ($this->document) {
            if ($this->document->getConfig()->get(FormatterInterface::CFG_USE_TABS)) {
                $indentation = "\t";
            } else {
                $indentation = str_repeat(' ', $this->document->getConfig()->get(FormatterInterface::CFG_INDENTATION));
            }

            return str_repeat($indentation, $this->indentation);
        }
    }
protected function getIndentation ( ) { if ( $ this -> document ) { if ( $ this -> document -> getConfig ( ) -> get ( FormatterInterface :: CFG_USE_TABS ) ) { $ indentation = "\t" ; } else { $ indentation = str_repeat ( ' ' , $ this -> document -> getConfig ( ) -> get ( FormatterInterface :: CFG_INDENTATION ) ) ; } return str_repeat ( $ indentation , $ this -> indentation ) ; } }
Get line indentation.

@return string
Get line indentation .