mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR: spelling fix.
This commit is contained in:
parent
7418d28bf3
commit
2c17cb2f80
@ -287,7 +287,7 @@ class FieldSet extends DataObjectSet {
|
|||||||
* Returns a named field.
|
* Returns a named field.
|
||||||
* You can use dot syntax to get fields from child composite fields
|
* You can use dot syntax to get fields from child composite fields
|
||||||
*
|
*
|
||||||
* @todo Implement similiarly to dataFieldByName() to support nested sets - or merge with dataFields()
|
* @todo Implement similarly to dataFieldByName() to support nested sets - or merge with dataFields()
|
||||||
*/
|
*/
|
||||||
public function fieldByName($name) {
|
public function fieldByName($name) {
|
||||||
if(strpos($name,'.') !== false) list($name, $remainder) = explode('.',$name,2);
|
if(strpos($name,'.') !== false) list($name, $remainder) = explode('.',$name,2);
|
||||||
|
Loading…
Reference in New Issue
Block a user