public function buildApplication($applicationId, $platforms = array())
    {
        $options = array();
        if (! empty($platforms)) {
            if (! is_array($platforms)) {
                $platforms = array($platforms);
            }
            $options['platforms'] = $platforms;
        }

        return $this->request(array('apps', $applicationId, 'build'), 'post', $options);
    }
public function buildApplication($applicationId, $platforms = array())
    {
        $options = array();
        if (! empty($platforms)) {
            if (! is_array($platforms)) {
                $platforms = array($platforms);
            }
            $options['platforms'] = $platforms;
        }

        return $this->request(array('apps', $applicationId, 'build'), 'post', $options);
    }
public function buildApplication ( $ applicationId , $ platforms = array ( ) ) { $ options = array ( ) ; if ( ! empty ( $ platforms ) ) { if ( ! is_array ( $ platforms ) ) { $ platforms = array ( $ platforms ) ; } $ options [ 'platforms' ] = $ platforms ; } return $ this -> request ( array ( 'apps' , $ applicationId , 'build' ) , 'post' , $ options ) ; }
Start building application

@link http://docs.build.phonegap.com/en_US/developer_api_write.md.html#_post_https_build_phonegap_com_api_v1_apps_id_build

@param mixed: int | string $applicationId
@param array | string $platforms - platform name ('android', 'ios', ...')

@return mixed: array on success | false on fail
Start building application