public/wordpress/wp-content/plugins/wp-courseware/includes/legacy/classes/import.php
/**
		 * Loads the data needed to create the modules and units.
		 */
Loads the data needed to create the modules and units.
Loads the data needed to create the modules and units .
private function loadModuleData() {
			if ( ! isset( $this->xml->modules ) && ! isset( $this->xml->modules->module[0] ) ) {
				return false;
			}
			$moduleData = array();
			foreach ( $this->xml->modules->module as $singleModule ) {
				$moduleData[] = $this->loadModuleData_Single( $singleModule );
			}
			return $moduleData;
		}
private function loadModuleData ( ) { if ( ! isset ( $ this -> xml -> modules ) && ! isset ( $ this -> xml -> modules -> module [ 0 ] ) ) { return false ; } $ moduleData = array ( ) ; foreach ( $ this -> xml -> modules -> module as $ singleModule ) { $ moduleData [ ] = $ this -> loadModuleData_Single ( $ singleModule ) ; } return $ moduleData ; }
Loads the data needed to create the modules and units.
Loads the data needed to create the modules and units .
// Need at least 1 module to continue. // Modules will contain unit data if units are being exported too.