function deploy_get_plan in Deploy - Content Staging 6
Same name and namespace in other branches
- 5 deploy.module \deploy_get_plan()
Get the details for a single deployment plan.
Parameters
$pid: Unique identifier for the plan whose details are being retrieved.
4 calls to deploy_get_plan()
- deploy_delete_plan_form in ./
deploy.plans.admin.inc - Delete a deployment plan confirmation form.
- deploy_list_form in ./
deploy.plans.admin.inc - Display a list of all items in a specified plan.
- deploy_plan_form in ./
deploy.plans.admin.inc - Display add/edit deployment plan form.
- deploy_plan_init in ./
deploy.module - Initiate depolyment.
File
- ./
deploy.module, line 519 - Deployment API which enables modules to deploy items between servers.
Code
function deploy_get_plan($pid) {
$result = db_query("SELECT * FROM {deploy_plan} WHERE pid = %d", $pid);
return db_fetch_array($result);
}