public function getLocaleDependencies($locale) {
		$dependencies = array();
		if (isset($this->localeDependencies[$locale])) {
			$dependencies = $this->localeDependencies[$locale];

				// Search for dependencies recursively
			$localeDependencies = $dependencies;
			foreach ($localeDependencies as $dependency) {
				if (isset($this->localeDependencies[$dependency])) {
					$dependencies = array_merge($dependencies, $this->getLocaleDependencies($dependency));
				}
			}
		}
		return $dependencies;
	}
public function getLocaleDependencies($locale) {
		$dependencies = array();
		if (isset($this->localeDependencies[$locale])) {
			$dependencies = $this->localeDependencies[$locale];

				// Search for dependencies recursively
			$localeDependencies = $dependencies;
			foreach ($localeDependencies as $dependency) {
				if (isset($this->localeDependencies[$dependency])) {
					$dependencies = array_merge($dependencies, $this->getLocaleDependencies($dependency));
				}
			}
		}
		return $dependencies;
	}
public function getLocaleDependencies ( $ locale ) { $ dependencies = array ( ) ; if ( isset ( $ this -> localeDependencies [ $ locale ] ) ) { $ dependencies = $ this -> localeDependencies [ $ locale ] ; // Search for dependencies recursively $ localeDependencies = $ dependencies ; foreach ( $ localeDependencies as $ dependency ) { if ( isset ( $ this -> localeDependencies [ $ dependency ] ) ) { $ dependencies = array_merge ( $ dependencies , $ this -> getLocaleDependencies ( $ dependency ) ) ; } } } return $ dependencies ; }
Returns the dependencies of a given locale, if any.

@param string $locale
@return array
Returns the dependencies of a given locale if any .