linodedns/linode_api/Services/Linode.php
/**
     * Loads the XML API definition.
     *
     * @return void
     */
Loads the XML API definition.
@return void
Loads the XML API definition . @return void
protected function loadAPI()
    {
		$filePath = dirname(__FILE__) . "/Services_Linode/";
		$feed = file_get_contents($filePath.'api.xml');
		$xmlApi = simplexml_load_string($feed);
        foreach ($xmlApi->method as $method) {
            $method_name = (string) $method['name'];
            $this->api[$method_name] =  $method;
        }
    }
protected function loadAPI ( ) { $ filePath = dirname ( __FILE__ ) . " /Services_Linode/ " ; $ feed = file_get_contents ( $ filePath . 'api.xml' ) ; $ xmlApi = simplexml_load_string ( $ feed ) ; foreach ( $ xmlApi -> method as $ method ) { $ method_name = ( string ) $ method [ 'name' ] ; $ this -> api [ $ method_name ] = $ method ; } }
Loads the XML API definition.
Loads the XML API definition .