Skip to content

Instantly share code, notes, and snippets.

Kyle Heddon kyleheddon

  • Salesforce (Pardot)
  • Atlanta, Ga
Block or report user

Report or block kyleheddon

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View someTemplate.php
$accessRequest = new RecordAccessRequest($prospect, ['id', 'name', 'email', 'secret']);
$accessRequest.addRelatedRecord($account, ['id', 'name', 'address', 'super_secret']);
$accessRequest.addRelatedRecord($secretRecord, ['id', 'name']);
$accessRequest.addRelatedRequest('', ['id', 'name', 'type']);
$accessRequest.addRelatedCollectionRequest('visitor_activity', ['id', 'name', 'type']);
$fields = RecordAccessManager::getFields($accessRequest, $user);
kyleheddon / gist:b68181dda7e2c22e3429
Last active Aug 29, 2015
View gist:b68181dda7e2c22e3429
function convert_hidden_inputs_to_array(){
$arr = array(array(null, null, null), array(null, null, null), array(null, null, null));
for($i = 0; $i < 3; $i++){
for($i = 0; $i < 3; $i++){
$value = $_POST["cell_$i$j"];
$arr[$i][$j] = $value;
You can’t perform that action at this time.