Back to MenuType class

Method _getAssetName

protected string
_getAssetName
()
Method to compute the default name of the asset.
Returns
  • string
Since
  • 3.6
Class: MenuType
Project: Joomla

Method _getAssetName - Source code

/**
 * Method to compute the default name of the asset.
 * The default name is in the form table_name.id
 * where id is the value of the primary key of the table.
 *
 * @return  string
 *
 * @since   3.6
 */
protected function _getAssetName()
{
    return 'com_menus.menu.' . $this->id;
}