This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
/** | |
* Utility function to get market areas map data. | |
* Pretty much just a typical parse entities data into market areas array | |
* | |
* @param array $filters contextual array (entity_type, bundle, field_name) | |
* @return array $market_areas output array used for painting market area layer. | |
*/ | |
function capacitype_mapbox_get_market_areas($filters) { | |
$market_areas = array(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery.each(marketAreas, function (key, marketArea) { | |
parsedMarketArea = { | |
'type': 'Feature', | |
'properties' : marketArea.properties, | |
'geometry' : jQuery.parseJSON(marketArea.geometry) | |
}; | |
maOverlayGroups[marketArea.properties.title] = L.geoJson(parsedMarketArea, { | |
'style': mapPolygonSettings, | |
'onEachFeature': function (feature, layer) { | |
var area_content = themeString( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class checkGR | |
{ | |
public $prop = array(); | |
function __construct($title) { | |
$ret = $this->callGR($title); | |
$xml = new SimpleXMLElement($ret); | |
$this->prop = $this->parseXML($xml); | |
} | |
public function parseXML(SimpleXMLElement $xml) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if (!function_exists('krumo')) { | |
has_krumo(); | |
} | |
$nids = db_query('SELECT nid FROM {node} n')->fetchCol(); | |
$query = db_select('node', 'n'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// test for efqs | |
/** | |
* Root directory of Drupal installation. | |
*/ | |
define('DRUPAL_ROOT', getcwd()); | |
require_once DRUPAL_ROOT . '/includes/bootstrap.inc'; | |
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); | |
// turn error reporting back to normal | |
error_reporting(E_ALL); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *:80> | |
ServerAdmin [email protected] | |
ServerName example1.drupal.local | |
DocumentRoot /vagrant/sites/example1 | |
<Directory "/vagrant/sites/example1/"> | |
Options Indexes FollowSymLinks | |
AllowOverride All | |
Order allow,deny |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$selectedFilters['region'] = 'ALL'; | |
$selectedFilters['state'] = 'ALL'; | |
$selectedFilters['zip'] = 60101; | |
$selectedFilters['specialty'] = 'ALL'; | |
$dataGrid[] = array( | |
'client' => 'A', | |
'region' => 'east', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
field_asset_geofield: | |
plugin: geofield_latlon | |
source: field_cap_geofield |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
langcode: en | |
status: true | |
dependencies: { } | |
id: taxonomy_term | |
migration_group: carlyle | |
label: 'Taxonomy terms' | |
source: | |
plugin: d7_taxonomy_term | |
process: | |
tid: tid |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
langcode: en | |
status: true | |
dependencies: { } | |
id: ya_node_article | |
migration_tags: null | |
migration_group: ya_example | |
label: 'Nodes (Article)' | |
source: | |
plugin: d7_node | |
node_type: article |
OlderNewer