mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Merged revisions 47479 via svnmerge from
svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.2.1 ........ r47479 | nlou | 2007-12-21 15:27:16 +1300 (Fri, 21 Dec 2007) | 1 line add function fieldByName ........ git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@47630 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
895370c038
commit
ff467f2393
@ -127,6 +127,9 @@ class CompositeField extends FormField {
|
|||||||
function isComposite() { return true; }
|
function isComposite() { return true; }
|
||||||
function hasData() { return false; }
|
function hasData() { return false; }
|
||||||
|
|
||||||
|
public function fieldByName($name) {
|
||||||
|
return $this->children->fieldByName($name);
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* Add a new child field to the end of the set.
|
* Add a new child field to the end of the set.
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user