Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
S
Silex
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
common
Silex
Commits
3bfbc38e
Commit
3bfbc38e
authored
Jan 12, 2012
by
Fabien Potencier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed some phpdoc
parent
95541210
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
src/Silex/Application.php
src/Silex/Application.php
+6
-1
No files found.
src/Silex/Application.php
View file @
3bfbc38e
...
@@ -239,6 +239,7 @@ class Application extends \Pimple implements HttpKernelInterface, EventSubscribe
...
@@ -239,6 +239,7 @@ class Application extends \Pimple implements HttpKernelInterface, EventSubscribe
* Aborts the current request by sending a proper HTTP error.
* Aborts the current request by sending a proper HTTP error.
*
*
* @param integer $statusCode The HTTP status code
* @param integer $statusCode The HTTP status code
* @param string $message The status message
* @param array $headers An array of HTTP headers
* @param array $headers An array of HTTP headers
*/
*/
public
function
abort
(
$statusCode
,
$message
=
''
,
array
$headers
=
array
())
public
function
abort
(
$statusCode
,
$message
=
''
,
array
$headers
=
array
())
...
@@ -317,7 +318,11 @@ class Application extends \Pimple implements HttpKernelInterface, EventSubscribe
...
@@ -317,7 +318,11 @@ class Application extends \Pimple implements HttpKernelInterface, EventSubscribe
/**
/**
* Escapes a text for HTML.
* Escapes a text for HTML.
*
*
* @param string $text The input text to be escaped
* @param string $text The input text to be escaped
* @param integer $flags The flags (@see htmlspecialchars)
* @param string $charset The charset
* @param Boolean $doubleEncode Whether to try to avoid double escaping or not
*
* @return string Escaped text
* @return string Escaped text
*/
*/
public
function
escape
(
$text
,
$flags
=
ENT_COMPAT
,
$charset
=
'UTF-8'
,
$doubleEncode
=
true
)
public
function
escape
(
$text
,
$flags
=
ENT_COMPAT
,
$charset
=
'UTF-8'
,
$doubleEncode
=
true
)
...
...
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