lithium\tests\mocks\g11n\catalog\adapter\MockGettext::_files PHP Method

_files() protected method

protected _files ( $category, $locale, $scope )
    protected function _files($category, $locale, $scope)
    {
        $files = parent::_files($category, $locale, $scope);
        foreach ($files as $key => $file) {
            $extension = pathinfo($file, PATHINFO_EXTENSION);
            if (!$this->mo && $extension === 'mo' || !$this->po && $extension === 'po') {
                unset($files[$key]);
            }
        }
        return $files;
    }
MockGettext