function deploy_item_is_in_plan in Deploy - Content Staging 6
Determine whether a specified item is in a specified plan
Parameters
$pid: Unique identifier for the plan we're checking.
$module: The module that is associated with this item.
$data: Identifying data for this item (usually the item's original ID.)
13 calls to deploy_item_is_in_plan()
- book_node_deploy_check in modules/
book_deploy/ book_deploy.module - Implementation of hook_node_deploy_check().
- comment_deploy_check in modules/
comment_deploy/ comment_deploy.module - Implementation of hook_deploy_check().
- comment_deploy_operations_add_form_submit in modules/
comment_deploy/ comment_deploy.pages.inc - Submit handler for comment_deploy_operations_add_form().
- comment_deploy_operations_add_now_form_submit in modules/
comment_deploy/ comment_deploy.pages.inc - Submit handler for comment_deploy_operations_add_now_form().
- filefield_deploy_node_deploy_check in modules/
filefield_deploy/ filefield_deploy.module - Implementation of hook_node_deploy_check().
File
- ./
deploy.module, line 584 - Deployment API which enables modules to deploy items between servers.
Code
function deploy_item_is_in_plan($pid, $module, $data) {
return db_result(db_query("SELECT iid FROM {deploy_plan_items} WHERE pid = %d AND module = '%s' AND data = '%s'", $pid, $module, $data));
}