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
880b6f9d
Commit
880b6f9d
authored
Aug 09, 2013
by
Qiang Xue
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#735: removed hiddenInput to avoid confusion.
parent
bd60dc00
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
14 deletions
+0
-14
ActiveField.php
framework/yii/widgets/ActiveField.php
+0
-14
No files found.
framework/yii/widgets/ActiveField.php
View file @
880b6f9d
...
@@ -278,20 +278,6 @@ class ActiveField extends Component
...
@@ -278,20 +278,6 @@ class ActiveField extends Component
}
}
/**
/**
* Renders a field containing a hidden input.
* This method will generate the "name" and "value" tag attributes automatically for the model attribute
* unless they are explicitly specified in `$options`.
* @param array $options the tag options in terms of name-value pairs. These will be rendered as
* the attributes of the resulting tag. The values will be HTML-encoded using [[encode()]].
* @return string the rendering result
*/
public
function
hiddenInput
(
$options
=
array
())
{
$options
=
array_merge
(
$this
->
inputOptions
,
$options
);
return
$this
->
render
(
Html
::
activeHiddenInput
(
$this
->
model
,
$this
->
attribute
,
$options
));
}
/**
* Renders a field containing a password input.
* Renders a field containing a password input.
* This method will generate the "name" and "value" tag attributes automatically for the model attribute
* This method will generate the "name" and "value" tag attributes automatically for the model attribute
* unless they are explicitly specified in `$options`.
* unless they are explicitly specified in `$options`.
...
...
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