This file contains 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
Information Input: | |
- Estimating the Quantifiable Characteristics of Products, Events, or Information: | |
Description: Estimating sizes, distances, and quantities; or determining time, costs, resources, or materials needed to perform a work activity. | |
- Getting Information: | |
Description: Observing, receiving, and otherwise obtaining information from all relevant sources. | |
- Identifying Objects, Actions, and Events: | |
Description: Identifying information by categorizing, estimating, recognizing differences or similarities, and detecting changes in circumstances or events. | |
- Inspecting Equipment, Structures, or Material: | |
Description: Inspecting equipment, structures, or materials to identify the cause of errors or other problems or defects. | |
- Monitor Processes, Materials, or Surroundings: |
This file contains 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 | |
namespace Drupal\cmt_course_index; | |
use Solarium\Client; | |
use Drupal\cmt_course\Entity\Course; | |
use Drupal\cmt_solr_connection\SolrConnection; | |
/** | |
* Class Indexer |
This file contains 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 | |
namespace Drupal\cmt_solr_connection; | |
use Drupal\Core\Config\ConfigFactory; | |
/** | |
* Class SolrConnection | |
*/ | |
class SolrConnection { |
This file contains 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 | |
/** | |
* Solr Query Proxy. | |
* - For use with Solarium Query Objects only. | |
*/ | |
error_reporting(0); | |
require __DIR__ . '/../vendor/autoload.php'; |
This file contains 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 | |
// Callback URLS | |
if (!$_sds_mywow_strengths_obj->setCallbackUri([ | |
'quiz' => 'start.aspx', | |
'results' => 'start.aspx', /* Same as quiz but diferent uri param.*/ | |
'xmlResults' => 'SDSRequests/resultsXML.aspx', | |
'reset' => 'SDSRequests/AJAX_resetProgress.aspx', | |
'progress' => 'SDSRequests/AJAX_getProgress.aspx' | |
]) |
This file contains 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
/** | |
* Page for application. | |
*/ | |
function MYMODULE_application_page_callback() { | |
global $user; | |
drupal_add_html_head([ | |
'#tag' => 'base', | |
'#attributes' => array( |
This file contains 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 | |
/** | |
* MYAPP webpack application container | |
*/ | |
?> | |
<div id="MYAPP" data-uuid="<?php print $data['uuid']; ?>" data-csrf="<?php print $data['csrf']; ?>"> | |
<?php foreach ($data['css'] as $css): ?> | |
<link href="/<?php print $css; ?>" rel="stylesheet" /> | |
<?php endforeach; ?> | |
<div class="application-placeholder">Loading application.</div> |
This file contains 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
#!/usr/bin/env bash | |
DRUSH=`which drush` | |
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
SITE_UUID="XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX" | |
SITE_NAME="Marketplace" | |
DRUPAL_PROFILE="minimal" | |
DRUPAL_DB="marketplace" | |
if [ $HOSTNAME = "$SITE_NAME" ]; then |
This file contains 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 | |
/** | |
* Copyright 2011 Bas de Nooijer. All rights reserved. | |
* | |
* Redistribution and use in source and binary forms, with or without | |
* modification, are permitted provided that the following conditions are met: | |
* | |
* 1. Redistributions of source code must retain the above copyright notice, | |
* this list of conditions and the following disclaimer. | |
* |
This file contains 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
/** | |
* Adds auth to update request (post) | |
* | |
* @param $update | |
* | |
* @return $update | |
*/ | |
function update($update) { | |
$request = $this->client->createRequest($update); | |
$endpoint = $this->client->getEndpoint(); |
NewerOlder