code stringlengths 1 2.01M | language stringclasses 1
value |
|---|---|
<?php
/*
* 2007-2013 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a... | PHP |
<?php
/*
* 2007-2013 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a... | PHP |
<?php
/*
* 2007-2013 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a... | PHP |
<?php
/*
* 2007-2013 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a... | PHP |
<?php
/*
* 2007-2013 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a... | PHP |
<?php
/*
* 2007-2013 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a... | PHP |
<?php
/*
* 2007-2013 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a... | PHP |
<?php
/*
* 2007-2013 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a... | PHP |
<?php
/*
* 2007-2013 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a... | PHP |
<?php
/*
* 2007-2013 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a... | PHP |
<?php
/*
* 2007-2013 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a... | PHP |
<?php
/*
* 2007-2013 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a... | PHP |
<?php
/*
* 2007-2013 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a... | PHP |
<?php
/*
* 2007-2013 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a... | PHP |
<?php
/*
* 2007-2013 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a... | PHP |
<?php
/*
* 2007-2013 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a... | PHP |
<?php
/*
* 2007-2013 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a... | PHP |
<?php
/*
* 2007-2013 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a... | PHP |
<?php
/*
* 2007-2013 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a... | PHP |
<?php
/*
* 2007-2013 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a... | PHP |
<?php
/*
* 2007-2013 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a... | PHP |
<?php
/*
* 2007-2013 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a... | PHP |
<?php
/*
* 2007-2013 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a... | PHP |
<?php
/*
* 2007-2013 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a... | PHP |
<?php
/*
* 2007-2013 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a... | PHP |
<?php
/*
* 2007-2013 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a... | PHP |
<?php
/*
* 2007-2013 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a... | PHP |
<?php
/*
* 2007-2013 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a... | PHP |
<?php
/*
* 2007-2013 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a... | PHP |
<?php
/*
* 2007-2013 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a... | PHP |
<?php
/*
* 2007-2013 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a... | PHP |
<?php
/*
* 2007-2013 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a... | PHP |
<?php
/*
* 2007-2013 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a... | PHP |
<?php
/*
* 2007-2013 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a... | PHP |
<?php
/*
* 2007-2013 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a... | PHP |
<?php
/*
* 2007-2013 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a... | PHP |
<?php
/*
* 2007-2013 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a... | PHP |
<?php
define('_DB_SERVER_', 'localhost');
define('_DB_NAME_', 'artistepresta');
define('_DB_USER_', 'root');
define('_DB_PASSWD_', '');
define('_DB_PREFIX_', 'ps_');
define('_MYSQL_ENGINE_', 'MyISAM');
define('_PS_CACHING_SYSTEM_', 'CacheMemcache');
define('_PS_CACHE_ENABLED_', '0');
define('_MEDIA_SERVER_1_', '');
def... | PHP |
<?php
/*
* 2007-2013 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a... | PHP |
<?php
/*
* 2007-2013 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a... | PHP |
<?php
/*
* 2007-2013 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a... | PHP |
<?php
/*
* 2007-2013 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a... | PHP |
<?php
/*
* 2007-2013 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a... | PHP |
<?php
/*
* 2007-2013 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a... | PHP |
<?php
/*
* 2007-2013 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a... | PHP |
<?php
/*
* 2007-2013 PrestaShop
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a... | PHP |
<?php
//////////////////////////////////////////////////////////////////////////////////////////
//
//
// CONSTANTS. DO NOT CHANGE.
//
//
//////////////////////////////////////////////////////////////////////////////////////////
$GLOBALS["WORKBENCH_VERSION"] = "26.0.1";
class Page {
public $title;
public $de... | PHP |
<?php
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// THIS FILE IS INTENDED FOR ADVANCED ADMINS ONLY TO OVERRIDE THE ARRAYS OR COMPONENT OF ARRAYS IN
// THE defaults.php FILE WITH CUSTOMIZATIONS TO APPLY TO ALL YOUR WORKBENCH USERS.
//
// THIS IS ... | PHP |
<?php
class WorkbenchConfig {
const INSTANCE = "WORKBENCH_CONFIG";
private $config;
/**
* @static
* @return WorkbenchConfig
*/
static function get() {
if (!isset($GLOBALS[self::INSTANCE])) {
$GLOBALS[self::INSTANCE] = new WorkbenchConfig();
}
retur... | PHP |
<?php
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// TO CONFIGURE WORKBENCH FOR ALL YOUR USERS, ADJUST THE "DEFAULT" VALUES FOR THE KEYS BELOW.
// FOR EASIER UPGRADING, YOU MAY IT IS RECOMMENDED TO MAKE THESE CHANGES TO THE overrides.php FI... | PHP |
<?php
require_once 'soxl/SearchObjects.php';
require_once 'session.php';
require_once 'shared.php';
$lastSr = new SearchRequest($_REQUEST);
//save last search. always do this even if named.
if ((isset($_POST['searchSubmit']) && $_POST['searchSubmit']=='Search') || (isset($_POST['doSaveSr']) && $_POST['doSaveSr'] == ... | PHP |
<?php
require_once 'session.php';
require_once 'shared.php';
if (!WorkbenchContext::get()->isApiVersionAtLeast(10.0)) {
displayError("Metadata API not supported prior to version 10.0", true, true);
exit;
}
if (!isset($_GET['asyncProcessId'])) {
require_once 'header.php';
print "<p/>";
displayInfo(... | PHP |
<?php
require_once 'soapclient/SforceMetadataClient.php';
require_once 'session.php';
require_once 'shared.php';
if (!WorkbenchContext::get()->isApiVersionAtLeast(10.0)) {
displayError("Metadata API not supported prior to version 10.0", true, true);
exit;
}
if (isset($_POST['deploymentConfirmed']) && isset($_P... | PHP |
<?php
require_once 'session.php';
require_once 'shared.php';
require_once 'header.php';
?>
<p>Workbench is a powerful, web-based suite of tools designed for
administrators and developers to interact with Salesforce.com
organizations via the Force.com APIs. Workbench includes robust support
for the Force.com Partner, B... | PHP |
<?php
require_once 'session.php';
require_once 'shared.php';
require_once 'put.php';
put('insert');
?>
| PHP |
<?php
require_once 'session.php';
require_once 'shared.php';
require_once 'put.php';
put('purge');
?>
| PHP |
<?php
require_once 'session.php';
require_once 'shared.php';
require_once 'put.php';
$_REQUEST['sourceType'] = "singleRecord";
put('retrieve');
?> | PHP |
<?php
require_once 'session.php';
require_once 'shared.php';
require_once 'header.php';
if (isset($cacheCleared)) {
displayInfo("Cache Cleared Successfully");
print "<p/>";
}
if (isset($_REQUEST['keyPrefix']) || isset($_REQUEST['id'])) {
$keyPrefixOrId = isset($_REQUEST['keyPrefix']) ? $_REQUEST['keyPrefi... | PHP |
<?php
require_once 'session.php';
require_once 'shared.php';
require_once 'put.php';
put('update');
?>
| PHP |
<?php
// ALL PUT FUNCTIONS:
// INSERT, UPDATE, UPSERT, DELETE, UNDELETE, AND PURGE
/**
* Main logic and control flow for all PUT funcions
* @param unknown_type $action
*/
function put($action) {
$confirmAction = 'Confirm ' . ucwords($action);
if (isset($_POST['action']) && $_POST['action'] == $confirmAct... | PHP |
<?php
class RestApiClient {
private $baseUrl;
private $sessionId;
private $proxySettings;
private $userAgent = "PHP-RestApiClient/22.0";
private $compressionEnabled = true;
private $includeSessionCookie = false;
private $logs;
private $loggingEnabled = false;
public static function ... | PHP |
<?php
require_once 'session.php';
require_once 'shared.php';
if (isset($_POST['actionJump']) && $_POST['actionJump'] != basename($_SERVER['PHP_SELF'])) {
header("Location: $_POST[actionJump]");
exit;
}
include_once 'header.php';
if (isset($_POST['select'])) {
displayError("Choose an object and an action ... | PHP |
<?php
require_once 'soapclient/SforceMetadataClient.php';
require_once 'session.php';
require_once 'shared.php';
if (!WorkbenchContext::get()->isApiVersionAtLeast(10.0)) {
throw new WorkbenchHandledException("Metadata API not supported prior to version 10.0");
}
if (isset($_POST['retrievalConfirmed']) && isset($_P... | PHP |
<?php
require_once "util/ExpandableTree.php";
function verifyCallingFromCLI() {
if (php_sapi_name() != 'cli') {
throw new Exception('Illegal invocation. Should only be called from CLI.');
}
}
function hasRedis() {
$redisUrl = WorkbenchConfig::get()->value("redisUrl");
return !empty($redisUrl) ... | PHP |
<?php
require_once 'session.php';
require_once 'shared.php';
if (isset($_REQUEST['switchApiVersionTo'])) {
$previousVersion = WorkbenchContext::get()->getApiVersion();
WorkbenchContext::get()->clearCache();
WorkbenchContext::get()->setApiVersion($_REQUEST['switchApiVersionTo']);
try {
Workbench... | PHP |
<?php
require_once 'session.php';
require_once 'shared.php';
if ($_SESSION) {
$redirectTime = 2000;
if (isset($_REQUEST['invalidateSession']) || (WorkbenchContext::isEstablished() && WorkbenchConfig::get()->value("invalidateSessionOnLogout"))) {
try {
if (WorkbenchContext::isEstablished())... | PHP |
<?php
require_once 'session.php';
require_once 'shared.php';
header("Location: " . getJumpToSfdcUrlPrefix() . 'setup%2Fbuild%2FrunAllApexTests.apexp');
?> | PHP |
<?php
require_once 'session.php';
require_once 'shared.php';
require_once 'put.php';
put('upsert');
?>
| PHP |
<?php
$q = "";
if (isset($_SERVER['QUERY_STRING']) && $_SERVER['QUERY_STRING'] != "") {
$q = "?" . $_SERVER['QUERY_STRING'];
}
header( "Location: login.php$q" ) ;
?> | PHP |
<?php
require_once 'session.php';
require_once 'shared.php';
require_once 'header.php';
if (isset($_POST['passwordChangeType'])) {
changePassword($_POST['passwordChangeType']);
} else {
displayForm();
}
function changePassword($passwordChangeType) {
$infos = null;
$errors = null;
try {
... | PHP |
<?php
require_once 'session.php';
require_once 'shared.php';
require_once 'header.php';
?>
<p>Workbench is not a supported product of or supported by salesforce.com, inc.
For support from the open source community, please visit the resources
below:
<ul>
<li><a href="http://wiki.apexdevnet.com/index.php/Workbench#F... | PHP |
<?php
define ("DEPLOYMENT_STATUS_INDEVELOPMENT", 'InDevelopment');
define ("DEPLOYMENT_STATUS_DEPLOYED", 'Deployed');
define ("GENDER_NEUTER", 'Neuter');
define ("GENDER_MASCULINE", 'Masculine');
define ("GENDER_FEMININE", 'Feminine');
define ("SHARING_MODEL_PRIVATE", 'Private');
define ("SHARING_MODEL_READ", 'Read')... | PHP |
<?php
/*
* Copyright (c) 2007, salesforce.com, inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
* that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice, this list o... | PHP |
<?php
require_once 'SoapBaseClient.php';
class SforceApexClient extends SoapBaseClient {
protected function getNamespace() {
return 'http://soap.sforce.com/2006/08/apex';
}
public function executeAnonymous($executeAnonymousBlock) {
$executeAnonymousRequest = new stdClass;
$execute... | PHP |
<?php
/*
* Copyright (c) 2007, salesforce.com, inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
* that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice, this list o... | PHP |
<?php
require_once 'SforcePartnerClient.php';
require_once 'SforceEmail.php';
/**
* This file contains two classes.
* @package SalesforceSoapClient
*/
/**
* SforcePartnerClient class.
*
* @package SalesforceSoapClient
*/
class SforceMockPartnerClient extends SforcePartnerClient {
public function login($u... | PHP |
<?php
abstract class ProcessRequest {
public $comments;
public $nextApproverIds;
}
class ProcessSubmitRequest extends ProcessRequest {
public $objectId;
}
class ProcessWorkitemRequest extends ProcessRequest {
public $action;
public $workitemId;
}
?> | PHP |
<?php
abstract class SoapBaseClient {
public $sforce;
protected $sessionId;
protected $location;
public function __construct($sessionId, $clientId, $endpoint, $wsdlPath) {
$_SERVER['HTTP_USER_AGENT'] = getWorkbenchUserAgent();
$soapClientArray = array();
if (WorkbenchConfig::g... | PHP |
<?php
/*
* Copyright (c) 2007, salesforce.com, inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
* that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice, this list o... | PHP |
<?php
require_once 'SoapBaseClient.php';
class SforceMetadataClient extends SoapBaseClient {
protected function getNamespace() {
return 'http://soap.sforce.com/2006/04/metadata';
}
public function describeMetadata($asOfVersion) {
$request = new stdClass;
$request->asOfVersion = $a... | PHP |
<?php
define ("EMAIL_PRIORITY_HIGHEST", 'Highest');
define ("EMAIL_PRIORITY_HIGH", 'High');
define ("EMAIL_PRIORITY_NORMAL", 'Normal');
define ("EMAIL_PRIORITY_LOW", 'Low');
define ("EMAIL_PRIORITY_LOWEST", 'Lowest');
class Email {
public function setBccSender($bccSender) {
$this->bccSender = $bccSender;
... | PHP |
<?php
class ProxySettings {
public $host;
public $port;
public $login;
public $password;
}
?> | PHP |
<?php
require_once 'SforceFieldTypes.php';
class SforceCustomObject {
public function setDeploymentStatus($deploymentStatus) {
$this->deploymentStatus = $deploymentStatus;
}
public function setDescription($description) {
$this->description = $description;
}
public function setEnab... | PHP |
<?php
/*
* Copyright (c) 2007, salesforce.com, inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
* that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice, this list o... | PHP |
<?php
require_once 'session.php';
require_once 'shared.php';
require_once 'header.php';
echo file_get_contents(WorkbenchConfig::get()->value("termsFile"));
require_once 'footer.php';
?>
| PHP |
<?php
require_once 'session.php';
require_once 'shared.php';
require_once 'put.php';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<meta http-equiv="Content-Language" content="UTF-8" />
<meta http-equiv="Content-Type" ... | PHP |
<?php
require_once 'session.php';
require_once 'shared.php';
require_once 'header.php';
print "<p/>";
if (!isset($_GET['jobId']) || $_GET['jobId'] == "") {
displayInfo("Parameter 'jobId' must be specified.",false,false);
print "<p/>" .
"<form action='' method='GET'>" .
"Job Id: <inp... | PHP |
<?php
require_once 'soxl/QueryObjects.php';
require_once 'session.php';
require_once 'shared.php';
require_once 'async/QueryFutureTask.php';
$defaultSettings['numFilters'] = 1;
//clear the form if the user changes the object
if (isset($_POST['justUpdate']) && $_POST['justUpdate'] == true) {
$queryRequest = new Qu... | PHP |
<?php
require_once 'config/constants.php';
require_once 'config/WorkbenchConfig.php';
require_once 'shared.php';
require_once 'context/WorkbenchContext.php';
set_exception_handler('handleAllExceptions');
set_error_handler('handleAllErrors');
if (!ini_get("date.timezone")) {
date_default_timezone_set('UTC');
}
$... | PHP |
<?php
require_once "futures.php";
require_once "controllers/RestExplorerController.php";
class RestExplorerFutureTask extends FutureTask {
private $c;
/**
* @param $c RestExplorerController
*/
function __construct($c) {
parent::__construct();
$this->c = $c;
}
function p... | PHP |
<?php
include_once "futures.php";
class QueryFutureTask extends FutureTask {
private $queryRequest;
private $queryLocator;
private $nextQueryLocator;
private $totalQuerySize;
function __construct($queryRequest, $queryLocator = null) {
parent::__construct();
$this->queryRequest = $... | PHP |
<?php
define("FUTURE_LOCK", "FUTURE_LOCK");
/**
* A task intended to be performed asynchronously. Should be subclassed for particular tasks.
*/
abstract class FutureTask {
const QUEUE = "FUTURE_TASK_REQUESTS";
private $asyncId;
private $connConfig;
private $cookies;
private $enqueueTime;
... | PHP |
<?php
include_once "futures.php";
class ApexExecuteFutureTask extends FutureTask {
private $executeAnonymousBlock;
private $logCategory;
private $logCategoryLevel;
function __construct($executeAnonymousBlock, $logCategory, $logCategoryLevel) {
parent::__construct();
$this->executeAnon... | PHP |
<?php function futureAjax($asyncId) { ?>
<div id="async-container-<?php echo $asyncId ?>"></div>
<script type='text/javascript' src='<?php echo getPathToStaticResource('/script/getElementsByClassName.js') ?>'></script>
<script type="text/javascript">
<!--
var WorkbenchFuture<?php echo $asyncId ?> = new func... | PHP |
<?php
class SearchRequest {
//FIELDS
private $name = null;//
private $searchString = null;
private $fieldType = null;
private $limit = null;
private $returningObjects = array();
private $numReturningObjects = null;
... | PHP |
<?php
class QueryRequest {
//FIELDS
private $name = null;
private $exportTo = "screen";
private $queryAction = "Query";
private $object = null;
private $fields = null;
private $orderByField = null;
private $orderByDir = "ASC";
pr... | PHP |
<?php
require_once 'session.php';
require_once 'shared.php';
$errors = null;
if (isset($_POST['submitConfigSetter'])) {
//find errors
foreach (WorkbenchConfig::get()->entries() as $configKey => $configValue) {
if (!isset($configValue['isHeader']) && isset($_POST[$configKey])) {
if (isset($... | PHP |
<?php
require_once 'session.php';
require_once 'shared.php';
if (isset($_SESSION['resultsWithData'])) {
$csvFile = fopen('php://output','w') or die("Error opening php://output");
$csvFilename = $_GET['action'] . "_results" . date('YmdHis') . ".csv";
header("Content-Type: application/csv");
header("Cont... | PHP |
<?php
require_once 'session.php';
require_once 'shared.php';
require_once 'put.php';
put('delete');
?>
| PHP |
<?php
class RestResponseInstrumenter {
private $insturmentations = array();
public function __construct($baseUrl) {
$restBasePattern = '/services/data/v\d+\.\d';
$this->insturmentations[] = new XssProtectionInsturmentation();
// add link url to id services
$th... | PHP |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.