Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
UserAdminV2
Overview
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
庄欣
UserAdminV2
Commits
aa32e4cf
Commit
aa32e4cf
authored
Sep 09, 2012
by
thybag
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename static::get_encoding() method to static::encoding() to fit better with style.
parent
f55bb85c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
laravel/html.php
+5
-5
No files found.
laravel/html.php
View file @
aa32e4cf
...
...
@@ -38,7 +38,7 @@ class HTML {
*/
public
static
function
entities
(
$value
)
{
return
htmlentities
(
$value
,
ENT_QUOTES
,
static
::
get_
encoding
(),
false
);
return
htmlentities
(
$value
,
ENT_QUOTES
,
static
::
encoding
(),
false
);
}
/**
...
...
@@ -49,7 +49,7 @@ class HTML {
*/
public
static
function
decode
(
$value
)
{
return
html_entity_decode
(
$value
,
ENT_QUOTES
,
static
::
get_
encoding
());
return
html_entity_decode
(
$value
,
ENT_QUOTES
,
static
::
encoding
());
}
/**
...
...
@@ -62,7 +62,7 @@ class HTML {
*/
public
static
function
specialchars
(
$value
)
{
return
htmlspecialchars
(
$value
,
ENT_QUOTES
,
static
::
get_
encoding
(),
false
);
return
htmlspecialchars
(
$value
,
ENT_QUOTES
,
static
::
encoding
(),
false
);
}
/**
...
...
@@ -419,8 +419,8 @@ class HTML {
*
* @return string
*/
protected
static
function
get_
encoding
()
{
protected
static
function
encoding
()
{
if
(
static
::
$encoding
===
null
)
static
::
$encoding
=
Config
::
get
(
'application.encoding'
);
return
static
::
$encoding
;
...
...
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