started asset helpers
This commit is contained in:
parent
8d432c8be6
commit
a9ff59d7b2
3 changed files with 56 additions and 9 deletions
|
|
@ -1172,6 +1172,34 @@ sub getExtraHeadTags {
|
|||
;
|
||||
}
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
|
||||
=head2 getHelpers ( )
|
||||
|
||||
Get the AssetHelpers for this asset.
|
||||
|
||||
=cut
|
||||
|
||||
sub getHelpers {
|
||||
my ( $self ) = @_;
|
||||
|
||||
my $default = [
|
||||
{
|
||||
class => 'WebGUI::AssetHelper::EditBranch',
|
||||
label => 'Edit Branch',
|
||||
},
|
||||
{
|
||||
url => $self->getUrl( 'func=edit' ),
|
||||
label => 'Edit',
|
||||
},
|
||||
{
|
||||
url => $self->getUrl( 'func=view' ),
|
||||
label => 'View',
|
||||
},
|
||||
];
|
||||
|
||||
return $default;
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue