more methods
This commit is contained in:
parent
cbf2e4bbbe
commit
6bda7a623d
2 changed files with 40 additions and 0 deletions
|
|
@ -83,6 +83,31 @@ sub get {
|
||||||
|
|
||||||
#-------------------------------------------------------------------
|
#-------------------------------------------------------------------
|
||||||
|
|
||||||
|
=head2 getCategories ()
|
||||||
|
|
||||||
|
Returns an array reference of all WebGUI::ProfileCategory objects in order of sequence. This is a class method.
|
||||||
|
|
||||||
|
=cut
|
||||||
|
|
||||||
|
sub getCategories {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#-------------------------------------------------------------------
|
||||||
|
|
||||||
|
=head2 getFields ()
|
||||||
|
|
||||||
|
Returns an array reference of all WebGUI::ProfileField objects that are part of this category in order of sequence.
|
||||||
|
|
||||||
|
=cut
|
||||||
|
|
||||||
|
sub getFields {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
#-------------------------------------------------------------------
|
||||||
|
|
||||||
=head2 moveDown ()
|
=head2 moveDown ()
|
||||||
|
|
||||||
Moves this category down one position.
|
Moves this category down one position.
|
||||||
|
|
|
||||||
|
|
@ -110,6 +110,19 @@ sub get {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#-------------------------------------------------------------------
|
||||||
|
|
||||||
|
=head2 getCategory ()
|
||||||
|
|
||||||
|
Returns a WebGUI::ProfileCategory object for the category that this profile field belongs to.
|
||||||
|
|
||||||
|
=cut
|
||||||
|
|
||||||
|
sub getCategory {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
#-------------------------------------------------------------------
|
#-------------------------------------------------------------------
|
||||||
|
|
||||||
=head2 moveDown ()
|
=head2 moveDown ()
|
||||||
|
|
@ -149,6 +162,8 @@ The unique name of this field.
|
||||||
|
|
||||||
sub new {
|
sub new {
|
||||||
my $class = shift;
|
my $class = shift;
|
||||||
|
my $fieldName = shift;
|
||||||
|
bless {_fieldName=>$fieldName}, $class;
|
||||||
}
|
}
|
||||||
|
|
||||||
#-------------------------------------------------------------------
|
#-------------------------------------------------------------------
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue