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 | |
/** | |
* Implements hook_schema(). | |
*/ | |
function JwLanalytics_schema() { | |
$schema = array(); | |
// this has been moveed to the communications manager | |
$schema['users_logins_data'] = array( | |
'description' => 'This is where we hold the users login data', | |
'fields' => 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 | |
use Illuminate\Foundation\Testing\WithoutMiddleware; | |
use Illuminate\Foundation\Testing\DatabaseMigrations; | |
use Illuminate\Foundation\Testing\DatabaseTransactions; | |
use App\Task; | |
class TaskTest extends TestCase | |
{ |
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 | |
/** | |
* updateds nodes helper debug function this is where all our debug code can go | |
* @param [array] $debug Avaliable debug information pass more for more to become | |
* @param [boolean] $die This will break on the first interation | |
* @param [array] $array An array containing all of the values that have been | |
* passed in one build. | |
* avaliable.! | |
*/ |
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 | |
/** | |
* This will fetch and display our node form of a chosen content type. | |
* @param $type [String] : this is the content type. | |
* @return $form [array] : form containing elements | |
*/ | |
function get_node_form($type) { | |
module_load_include('inc', 'node', 'node.pages'); | |
$form = node_add($type); |
NewerOlder