small clean up
This commit is contained in:
parent
5bda08209f
commit
3984fc153d
1 changed files with 8 additions and 0 deletions
|
|
@ -295,6 +295,8 @@ sub _listFieldsWhere {
|
||||||
SQL
|
SQL
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#-------------------------------------------------------------------
|
||||||
|
|
||||||
=head2 getEditableFields ( session )
|
=head2 getEditableFields ( session )
|
||||||
|
|
||||||
Returns an array reference of WebGUI::ProfileField objects that are marked "editable" or "required". This is a class method.
|
Returns an array reference of WebGUI::ProfileField objects that are marked "editable" or "required". This is a class method.
|
||||||
|
|
@ -307,6 +309,8 @@ sub getEditableFields {
|
||||||
return $class->_listFieldsWhere($session, "f.required = 1 OR f.editable = 1");
|
return $class->_listFieldsWhere($session, "f.required = 1 OR f.editable = 1");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#-------------------------------------------------------------------
|
||||||
|
|
||||||
=head2 getFields ( session )
|
=head2 getFields ( session )
|
||||||
|
|
||||||
Returns an array reference of WebGUI::ProfileField objects. This is a class method.
|
Returns an array reference of WebGUI::ProfileField objects. This is a class method.
|
||||||
|
|
@ -319,6 +323,8 @@ sub getFields {
|
||||||
return $class->_listFieldsWhere($session, "1");
|
return $class->_listFieldsWhere($session, "1");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#-------------------------------------------------------------------
|
||||||
|
|
||||||
=head2 getRequiredFields ( session )
|
=head2 getRequiredFields ( session )
|
||||||
|
|
||||||
Returns an array reference of WebGUI::ProfileField objects that are marked "required". This is a class method.
|
Returns an array reference of WebGUI::ProfileField objects that are marked "required". This is a class method.
|
||||||
|
|
@ -331,6 +337,8 @@ sub getRequiredFields {
|
||||||
return $class->_listFieldsWhere($session, "f.required = 1");
|
return $class->_listFieldsWhere($session, "f.required = 1");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#-------------------------------------------------------------------
|
||||||
|
|
||||||
=head2 getRegistrationFields ( session )
|
=head2 getRegistrationFields ( session )
|
||||||
|
|
||||||
Returns an array reference of profile field objects to use during anonymous registration. Class method.
|
Returns an array reference of profile field objects to use during anonymous registration. Class method.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue