english/libraries/joomla/installer/installer.php
/**
	 * Copies the installation manifest file to the extension folder in the given client
	 *
	 * @param	int		$cid	Where to copy the installfile [optional: defaults to 1 (admin)]
	 *
	 * @return	boolean	True on success, False on error
	 * @since	11.1
	 */
Copies the installation manifest file to the extension folder in the given client
@param       int             $cid    Where to copy the installfile [optional: defaults to 1 (admin)]

@return      boolean True on success, False on error
@since       11.1
Copies the installation manifest file to the extension folder in the given client @param int $cid Where to copy the installfile [ optional : defaults to 1 ( admin ) ] @return boolean True on success False on error @since 11 . 1
public function copyManifest($cid=1)
	{
		jimport('joomla.application.helper');
		$client = JApplicationHelper::getClientInfo($cid);
		$path['src'] = $this->getPath('manifest');
		if ($client) {
			$pathname = 'extension_'.$client->name;
			$path['dest']  = $this->getPath($pathname) . '/' . basename($this->getPath('manifest'));
		}
		else {
			$pathname = 'extension_root';
			$path['dest']  = $this->getPath($pathname) . '/' . basename($this->getPath('manifest'));
		}
		return $this->copyFiles(array ($path), true);
	}
public function copyManifest ( $ cid = 1 ) { jimport ( 'joomla.application.helper' ) ; $ client = JApplicationHelper :: getClientInfo ( $ cid ) ; $ path [ 'src' ] = $ this -> getPath ( 'manifest' ) ; if ( $ client ) { $ pathname = 'extension_' . $ client -> name ; $ path [ 'dest' ] = $ this -> getPath ( $ pathname ) . '/' . basename ( $ this -> getPath ( 'manifest' ) ) ; } else { $ pathname = 'extension_root' ; $ path [ 'dest' ] = $ this -> getPath ( $ pathname ) . '/' . basename ( $ this -> getPath ( 'manifest' ) ) ; } return $ this -> copyFiles ( array ( $ path ) , true ) ; }
Copies the installation manifest file to the extension folder in the given client
 @param       int             $cid    Where to copy the installfile [optional: defaults to 1 (admin)]
Copies the installation manifest file to the extension folder in the given client @param int $cid Where to copy the installfile [ optional : defaults to 1 ( admin ) ]
// Get the client info