Magento: Get base URL of admin

If you want to get the base url of an admin, You can use one of the below code as your requirement.

<?php
$route = '*/customer/index/';
Mage::helper('adminhtml')->getUrl($route);

$this->getUrl($route);

Mage::helper('adminhtml')->getUrl('*/customer/index/');

$params = array('id'=>1);
Mage::helper('adminhtml')->getUrl($route, $params);

$this->getUrl('adminhtml/system_config/edit', array('section'=>'web', 'store'=>$code));

$this->getUrl('adminhtml/customer/edit', array('id'=>1));

?>