Changeset 8008
- Timestamp:
- 03/20/08 22:59:11 (7 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/1.1/lib/i18n/sfMessageSource_File.class.php
r6807 r8008 33 33 /** 34 34 * Separator between culture name and source. 35 * @var string 35 * @var string 36 36 */ 37 37 protected $dataSeparator = '.'; … … 86 86 * 87 87 * @param string catalogue name 88 * @return array list of all variants for this catalogue. 88 * @return array list of all variants for this catalogue. 89 89 */ 90 90 public function getCatalogueList($catalogue) … … 117 117 * 118 118 * @param string a particular catalogue. 119 * @return array a list of catalogues. 119 * @return array a list of catalogues. 120 120 * @see getCatalogueList() 121 121 */ … … 143 143 * E.g. array('messages', 'en_AU') 144 144 * 145 * @return array list of catalogues 145 * @return array list of catalogues 146 146 * @see getCatalogues() 147 147 */ … … 156 156 * E.g. array('messages', 'en_AU') 157 157 * 158 * @return array list of catalogues 158 * @return array list of catalogues 159 159 */ 160 160 protected function getCatalogues($dir = null, $variant = null) 161 161 { 162 $dir = $dir ? $dir : $this-> source;162 $dir = $dir ? $dir : $this->getSource($variant); 163 163 $files = scandir($dir); 164 164