function tripal_views_is_lightest_priority_setup
2.x tripal_views.DEPRECATED.inc | tripal_views_is_lightest_priority_setup($setup_id, $table_name) |
1.x tripal_views.api.inc | tripal_views_is_lightest_priority_setup($setup_id, $table_name) |
Checks if you are dealing with the lightest priority setup for a given table
Parameters
$setup_id: The ID of the setup to check (is this setup the lightest one?)
$table_name: The name of the table associated with this setup
Return value
TRUE is this is the lightest priority; FALSE otherwise
Related topics
1 call to tripal_views_is_lightest_priority_setup()
- tripal_views_views_data in tripal_views/
tripal_views.views.inc
File
- tripal_views/
api/ tripal_views.api.inc, line 138 - API functions for Tripal Views Integration
Code
function tripal_views_is_lightest_priority_setup($setup_id, $table_name) {
$lightest_priority_setup_id = tripal_views_get_lightest_priority_setup($table_name);
if ($lightest_priority_setup_id == $setup_id) {
return TRUE;
}
else {
return FALSE;
}
}