8+ results for 'php getopt repo:esilverman/PH Salesforce' (120 ms)
23* Added: `appsecret_proof` functionality support to the Facebook resource owner, 24* Added: `sandbox` functionality support to the Salesforce resource owner, 25* Added Auth0 resource owner, 63## 0.3.7 (2014-11-15) 64* Fix: `SessionStorage::save()` could throw php error, 65* Fix: `OAuthToken::isExpired()` always returned `false`, 92* Fix: `WordpressResourceOwner` user details API call, 93* Fix: PHP Notice when `oauth_callback_confirmed` was set too `false`, 94* Fix: PHP Fatal when session returns boolean instead of object, 107* Fix: Throw exception in `FOSUBUserProvider` when username is missing 108* Added SalesForce resource owner 109 166 `null` instead 167* [BC break] Added `ResourceOwnerInterface#getOption($name)` method 168* [BC break] `ResourceOwnerInterface#getUserInformation()` now must receive array (`$accessToken`)PushLeadActivityCommand.php https://gitlab.com/mautic-master/mautic | PHP | 111 lines
1<?php 2/** 54 InputOption::VALUE_OPTIONAL, 55 'Send time interval to check updates on Salesforce, it should be a correct php formatted time interval in the past eg:(-10 minutes)' 56 ) 72 $translator = $factory->getTranslator(); 73 $integration = $input->getOption('integration'); 74 $startDate = $input->getOption('start-date'); 74 $startDate = $input->getOption('start-date'); 75 $endDate = $input->getOption('end-date'); 76 $interval = $input->getOption('time-interval');RefreshWsdlCommand.php https://bitbucket.org/cerilo/salesforce-bundle.git | PHP | 86 lines
1<?php 2namespace Phpforce\SalesforceBundle\Command; 3 11/** 12 * Fetch latest WSDL from Salesforce and store it locally 13 * 23 $this 24 ->setName('phpforce:refresh-wsdl') 25 ->setDescription('Refresh Salesforce WSDL') 28 . 'command for the first time, please download the WSDL ' 29 . 'manually from Salesforce' 30 ) 45 46 $client = $this->getContainer()->get('phpforce.soap_client'); 47ph-salesforce.php https://bitbucket.org/esilverman/ph-salesforce.git | PHP | 1481 lines
21global $chrome_php_enabled; 22$chrome_php_enabled = defined('CHROME_PHP') && CHROME_PHP; 23// Autoload global composer libs 41 42 if ( version_compare( PHP_VERSION, $php_min_version, '<' ) || version_compare( get_bloginfo( 'version' ), $wp_min_version, '<' ) ) { 43 require_once ABSPATH . 'wp-admin/includes/plugin.php'; 45 if ( isset( $_GET['action'] ) && ( $_GET['action'] == 'activate' || $_GET['action'] == 'error_scrape' ) ) 46 die( __( "PH Salesforce requires PHP version $php_min_version or greater and WordPress $wp_min_version or greater.", 'ph-salesforce' ) ); 47 } 51 52 const PLUGIN_NAME = 'PH_Salesforce'; 53 const PLUGIN_SLUG = 'ph_salesforce'; 455 ); 456 wp_localize_script( 'ph_salesforce_admin_js' , 'ph_salesforce_admin_js', $params ); 457QueueProcessControllerTest.php https://gitlab.com/vietcoop/sync.app.git | PHP | 100 lines
10use GoCatalyze\SyncCenter\Extensions\Drupal\DrupalService; 11use GoCatalyze\SyncCenter\Extensions\Salesforce\SalesforceEntity; 12use GoCatalyze\SyncCenter\Extensions\Salesforce\SalesforceService; 28 /* @var $sync_mapping SyncMappingEntity */ 29 $job = $this->dummyQueueItem('drupal', 'salesforce', 'create', $this->dummyDrupalInput()); 30 $sync_mapping = $job->getArgs()['sync_mapping']; 33 $drupal_service = new DrupalService(); 34 $drupal_service->setConfiguration($si->getOptions()); 35 $drupal_entity = new DrupalEntity(); 36 $drupal_entity->setAttributeValues($job->getArgs()['attributes']); 37 $sf_service = new SalesforceService(); 38 $sf_service->setConfiguration($di->getOptions()); 53 // Mock › Salesforce client 54 $sf_client = $this->getMock('GoCatalyze\SyncCenter\Extensions\Salesforce\SalesforceClient'); 55 $sf_client->expects($this->once())DrupalToSalesforceTest.php https://gitlab.com/vietcoop/sync.app.git | PHP | 228 lines
8use GoCatalyze\SyncCenter\Extensions\Drupal\DrupalEntity; 9use GoCatalyze\SyncCenter\Extensions\Salesforce\SalesforceEntity; 10use PHPQueue\Job; 68 'status' => true, 69 'description' => 'Drupal user to Salesforce', 70 'source' => [ 167 $sf_entity = $convertor->convert($drupal_entity, 'salesforce.entity', $field_mapping); 168 $this->assertInstanceOf('GoCatalyze\SyncCenter\Extensions\Salesforce\SalesforceEntity', $sf_entity); 169 $this->assertEquals([ 190 191 $this->assertInstanceOf('GoCatalyze\SyncCenter\Extensions\Salesforce\SalesforceService', $dest_service); 192 202 /* @var $sync_mapping SyncMappingEntity */ 203 /* @var $sf_entity SalesforceEntityyncCenter\Extensions\Salesforce\SalesforceService */ 204 list($queue_item, $sync_mapping, $sf_entity, $sf_service) = $this->checkDestinationService();PushLeadActivityCommand.php https://bitbucket.org/pipehline/mautic-imachine.git | PHP | 111 lines
1<?php 2 55 InputOption::VALUE_OPTIONAL, 56 'Send time interval to check updates on Salesforce, it should be a correct php formatted time interval in the past eg:(-10 minutes)' 57 ) 73 $translator = $factory->getTranslator(); 74 $integration = $input->getOption('integration'); 75 $startDate = $input->getOption('start-date'); 75 $startDate = $input->getOption('start-date'); 76 $endDate = $input->getOption('end-date'); 77 $interval = $input->getOption('time-interval');FetchLeadsCommand.php https://bitbucket.org/pipehline/mautic-imachine.git | PHP | 308 lines
1<?php 2 61 InputOption::VALUE_OPTIONAL, 62 'Send time interval to check updates on Salesforce, it should be a correct php formatted time interval in the past eg:(10 minutes)' 63 ) 83 $translator = $container->get('translator'); 84 $integration = $input->getOption('integration'); 85 $startDate = $input->getOption('start-date'); 85 $startDate = $input->getOption('start-date'); 86 $endDate = $input->getOption('end-date'); 87 $interval = $input->getOption('time-interval'); 87 $interval = $input->getOption('time-interval'); 88 $limit = $input->getOption('limit'); 89 $fetchAll = $input->getOption('fetch-all');