====== getPath ======
{#JAPI Joomla.Framework Application JApplication::getPath #}
Retrieves the path to the specified file.
**This method is deprecated in Joomla! 1.5 (JApplicationHelper::getPath should be used instead).**
See the [[JApplicationHelper-getPath|JApplicationHelper::getPath]] for a detailed description of this method.
===== Syntax =====
void getPath ( **$varname**, **$user_option** )
| **$varname** | string | is a string containing the name of the variable to retrieve. |
| **$user_option** | string | is a string containing the user option. This parameter is optional and if omitted defaults to null. |
===== Examples =====
global $mainframe;
echo $mainframe->getPath( 'admin', 'com_contact' );
might produce
C:\Program Files\xampp\htdocs\joomla11\administrator\components\com_contact\admin.contact.php
----
~~DISCUSSION~~