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
9a9a9c0b
Commit
9a9a9c0b
authored
Aug 16, 2013
by
Qiang Xue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
code style fix.
parent
a93f1cce
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
InflectorBase.php
framework/yii/helpers/InflectorBase.php
+6
-6
No files found.
framework/yii/helpers/InflectorBase.php
View file @
9a9a9c0b
...
...
@@ -423,12 +423,12 @@ class InflectorBase
/**
* Converts a class name to its table name (pluralized)
* naming conventions. For example, converts "Person" to "people"
* @param string $class
_n
ame the class name for getting related table_name
* @param string $class
N
ame the class name for getting related table_name
* @return string
*/
public
static
function
tableize
(
$class
_n
ame
)
public
static
function
tableize
(
$class
N
ame
)
{
return
static
::
pluralize
(
static
::
underscore
(
$class
_n
ame
));
return
static
::
pluralize
(
static
::
underscore
(
$class
N
ame
));
}
/**
...
...
@@ -452,12 +452,12 @@ class InflectorBase
/**
* Converts a table name to its class name. For example, converts "people" to "Person"
* @param string $table
_n
ame
* @param string $table
N
ame
* @return string
*/
public
static
function
classify
(
$table
_n
ame
)
public
static
function
classify
(
$table
N
ame
)
{
return
static
::
camelize
(
static
::
singularize
(
$table
_n
ame
));
return
static
::
camelize
(
static
::
singularize
(
$table
N
ame
));
}
/**
...
...
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