You are here

function deploy_get_server in Deploy - Content Staging 6

Same name and namespace in other branches
  1. 5 deploy.module \deploy_get_server()

Get the details for a single deployment plan server.

Parameters

$sid: Unique identifier for the server whose details are being retrieved.

5 calls to deploy_get_server()
deploy_ahah_auth_form in ./deploy.module
A generic AHAH form callback that returns the authentication form for a server or a authentication type.
deploy_delete_server_form in ./deploy.servers.admin.inc
Delete a deployment server confirmation form.
deploy_plan_init in ./deploy.module
Initiate depolyment.
deploy_server_form in ./deploy.servers.admin.inc
Display add/edit deployment server form.
drush_deploy in includes/deploy.drush.inc
Deploy a plan from the command line with drush.

File

./deploy.module, line 530
Deployment API which enables modules to deploy items between servers.

Code

function deploy_get_server($sid) {
  $result = db_query("SELECT * FROM {deploy_servers} WHERE sid = %d", $sid);
  return db_fetch_array($result);
}