src/ChickenWire/I18n/SimpleBackend.php
public function loadAll($prefix = '')
		{

			// Loop through files
			foreach ($this->_files as $section => $file) {

				// Load it?
				if (strlen($prefix) == 0 || 
					$prefix == $section ||
					(strlen($section) > strlen($prefix) && substr($section, 0, strlen($prefix)) == $prefix) ||
					(strlen($section) < strlen($prefix) && substr($prefix, 0, strlen($section)) == $section)) {
				
					// Load file
					$this->_loadFile($file);

					// Remove from queue
					unset($this->_files[$section]);

				}

			}

		}
public function loadAll($prefix = '')
		{

			// Loop through files
			foreach ($this->_files as $section => $file) {

				// Load it?
				if (strlen($prefix) == 0 || 
					$prefix == $section ||
					(strlen($section) > strlen($prefix) && substr($section, 0, strlen($prefix)) == $prefix) ||
					(strlen($section) < strlen($prefix) && substr($prefix, 0, strlen($section)) == $section)) {
				
					// Load file
					$this->_loadFile($file);

					// Remove from queue
					unset($this->_files[$section]);

				}

			}

		}
public function loadAll ( $ prefix = '' ) { // Loop through files foreach ( $ this -> _files as $ section => $ file ) { // Load it? if ( strlen ( $ prefix ) == 0 || $ prefix == $ section || ( strlen ( $ section ) > strlen ( $ prefix ) && substr ( $ section , 0 , strlen ( $ prefix ) ) == $ prefix ) || ( strlen ( $ section ) < strlen ( $ prefix ) && substr ( $ prefix , 0 , strlen ( $ section ) ) == $ section ) ) { // Load file $ this -> _loadFile ( $ file ) ; // Remove from queue unset ( $ this -> _files [ $ section ] ) ; } } }
Load all locale files
@return void
Load all locale files