Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
yii2
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PSDI Army
yii2
Commits
cf960e89
Commit
cf960e89
authored
Jun 11, 2014
by
Erik_r
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Namespace corrected #2359
parent
0995a740
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
Formatter.php
framework/base/Formatter.php
+6
-6
FormatDefs.php
framework/i18n/FormatDefs.php
+1
-1
No files found.
framework/base/Formatter.php
View file @
cf960e89
...
...
@@ -5,8 +5,8 @@
* @license http://www.yiiframework.com/license/
*/
//
namespace yii\base;
namespace
guggach\helpers
;
namespace
yii\base
;
use
Yii
;
use
DateTime
;
...
...
@@ -16,7 +16,7 @@ use yii\helpers\HtmlPurifier;
use
yii\helpers\Html
;
use
yii\base\InvalidConfigException
;
use
yii\base\InvalidParamException
;
use
guggach\helpers
\FormatDefs
;
use
yii\i18n
\FormatDefs
;
/**
...
...
@@ -567,7 +567,7 @@ class Formatter extends yii\base\Component
/**
* Set a new local different to Yii configuration for temporale reason.
* @param string $locale language code and country code.
* @return
\guggach\helpers\
Formatter object
* @return Formatter object
*/
public
function
setLocale
(
$locale
=
'en-US'
){
$this
->
locale
=
$locale
;
...
...
@@ -724,7 +724,7 @@ class Formatter extends yii\base\Component
* standard (icu) will be taken. Without loaded "intl" extension the definition can be
* adapted in FormatDefs.php.
* @param string $sign: one sign which is set.
* @return
\guggach\helpers\Formatter
* @return
Formatter object
*/
public
function
setDecimalSeparator
(
$sign
=
null
){
if
(
$sign
===
null
){
...
...
@@ -754,7 +754,7 @@ class Formatter extends yii\base\Component
* standard (icu) will be taken. Without loaded "intl" extension the definition can be
* adapted in FormatDefs.php.
* @param string $sign: one sign which is set.
* @return
\guggach\helpers\Formatter
* @return
Formatter object
*/
public
function
setThousandSeparator
(
$sign
=
null
){
if
(
$sign
===
null
){
...
...
framework/i18n/FormatDefs.php
View file @
cf960e89
<?php
namespace
guggach\helpers
;
namespace
yii\i18n
;
/**
* International format definitions for decimal separator, thousand separator, dates,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment