public/wordpress/wp-content/plugins/wp-courseware/includes/legacy/classes/export.php
/**
		 * Indents the XML according to the depth of the path.
		 */
Indents the XML according to the depth of the path.
Indents the XML according to the depth of the path .
private function export_indent( $path ) {
			$depth  = sizeof( explode( "/", $path ) ) - 1;
			$indent = "";
			$indent = str_pad( $indent, $depth, "\t" );
			return "\r\n" . $indent;
		}
private function export_indent ( $ path ) { $ depth = sizeof ( explode ( " / " , $ path ) ) - 1 ; $ indent = " " ; $ indent = str_pad ( $ indent , $ depth , " \t " ) ; return " \r \n " . $ indent ; }
Indents the XML according to the depth of the path.
Indents the XML according to the depth of the path .