/** * Returns status code 200, if this component is correctly installed for the platform * * Called when this component receives an HTTP GET request to * /link/exists/platform. */ public function getExistsPlatform($callName, $input, $params = array()) { Logger::Log('starts GET GetExistsPlatform', LogLevel::DEBUG); if (!file_exists(dirname(__FILE__) . '/config.ini')) { return Model::isProblem(); } return Model::isOk(); }
public function getExistsPlatform($callName, $input, $params = array()) { return Model::isOk(new Platform()); }