public static
|
#
init( )
Method to inject needed script
Method to inject needed script
Since
3.0
|
public static
|
#
start( )
Method to start a new dropdown menu
Method to start a new dropdown menu
Since
3.0
|
public static
string
|
#
render( )
Method to render current dropdown menu
Method to render current dropdown menu
Returns
string - HTML markup for the dropdown list
Since
3.0
|
public static
|
#
edit( integer $id, string $prefix = '', string $customLink = '' )
Append an edit item to the current dropdown menu
Append an edit item to the current dropdown menu
Parameters
- $id
integer - $id Record ID
- $prefix
string - $prefix Task prefix
- $customLink
string - $customLink The custom link if dont use default Joomla action format
Since
3.0
|
public static
|
#
publish( string $checkboxId, string $prefix = '' )
Append a publish item to the current dropdown menu
Append a publish item to the current dropdown menu
Parameters
- $checkboxId
string - $checkboxId ID of corresponding checkbox of the record
- $prefix
string - $prefix The task prefix
Since
3.0
|
public static
|
#
unpublish( string $checkboxId, string $prefix = '' )
Append an unpublish item to the current dropdown menu
Append an unpublish item to the current dropdown menu
Parameters
- $checkboxId
string - $checkboxId ID of corresponding checkbox of the record
- $prefix
string - $prefix The task prefix
Since
3.0
|
public static
|
#
featured( string $checkboxId, string $prefix = '' )
Append a featured item to the current dropdown menu
Append a featured item to the current dropdown menu
Parameters
- $checkboxId
string - $checkboxId ID of corresponding checkbox of the record
- $prefix
string - $prefix The task prefix
Since
3.0
|
public static
|
#
unfeatured( string $checkboxId, string $prefix = '' )
Append an unfeatured item to the current dropdown menu
Append an unfeatured item to the current dropdown menu
Parameters
- $checkboxId
string - $checkboxId ID of corresponding checkbox of the record
- $prefix
string - $prefix The task prefix
Since
3.0
|
public static
|
#
archive( string $checkboxId, string $prefix = '' )
Append an archive item to the current dropdown menu
Append an archive item to the current dropdown menu
Parameters
- $checkboxId
string - $checkboxId ID of corresponding checkbox of the record
- $prefix
string - $prefix The task prefix
Since
3.0
|
public static
|
#
unarchive( string $checkboxId, string $prefix = '' )
Append an unarchive item to the current dropdown menu
Append an unarchive item to the current dropdown menu
Parameters
- $checkboxId
string - $checkboxId ID of corresponding checkbox of the record
- $prefix
string - $prefix The task prefix
Since
3.0
|
public static
|
#
trash( string $checkboxId, string $prefix = '' )
Append a trash item to the current dropdown menu
Append a trash item to the current dropdown menu
Parameters
- $checkboxId
string - $checkboxId ID of corresponding checkbox of the record
- $prefix
string - $prefix The task prefix
Since
3.0
|
public static
|
#
untrash( string $checkboxId, string $prefix = '' )
Append an untrash item to the current dropdown menu
Append an untrash item to the current dropdown menu
Parameters
- $checkboxId
string - $checkboxId ID of corresponding checkbox of the record
- $prefix
string - $prefix The task prefix
Since
3.0
|
public static
|
#
checkin( string $checkboxId, string $prefix = '' )
Append a checkin item to the current dropdown menu
Append a checkin item to the current dropdown menu
Parameters
- $checkboxId
string - $checkboxId ID of corresponding checkbox of the record
- $prefix
string - $prefix The task prefix
Since
3.0
|
public static
|
#
divider( )
Writes a divider between dropdown items
Writes a divider between dropdown items
Since
3.0
|
public static
|
#
addCustomItem( string $label, string $link = 'javascript:void(0)', string $linkAttributes = '', string $className = '', boolean $ajaxLoad = false, string $jsCallBackFunc = null )
Append a custom item to current dropdown menu
Append a custom item to current dropdown menu
Parameters
- $label
string - $label The label of item
- $link
string - $link The link of item
- $linkAttributes
string - $linkAttributes Custom link attributes
- $className
string - $className Class name of item
- $ajaxLoad
boolean - $ajaxLoad True if using ajax load when item clicked
- $jsCallBackFunc
string - $jsCallBackFunc Javascript function name, called when ajax load successfully
Since
3.0
|