Warning Older Docs! - You are viewing documentation for a previous released version of RhoMobile Suite.

RhoConfig API

The RhoConfig API allow access to the configuration properties. Refer to Run time configuration for a listing of the configuration properties, and some examples.

configuration property methods

The properties in the rhoconfig.txt file for a Rhodes application are available through the RhoConfig API. To access the property, use the name of the property as the method name. For example, the following method returns the start path for your Rhodes application:

Rho::RhoConfig.start_path

For a list of the configuration properties, click here

exists?

Checks to see if a configuration property exists for this Rhodes application.

Rho::RhoConfig.exists?(configuration-property)
configuration-property String. A configuration property, such as 'start_path'.
Back to Top