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 | |
class PaymentGatewayPayPal extends WireData implements Module, ConfigurableModule { | |
/* | |
* Module details, defaults and initialisation | |
* | |
*/ | |
public static function getModuleInfo() |
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 | |
/** | |
* If you want to add-on runtime hooks, validation or additional functionality to Form Builder, | |
* place this file in /site/templates/form-builder.inc | |
* | |
* It will be included by /site/templates/form-builder.php when present. | |
* | |
*/ |
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 | |
/** | |
* If you want to add-on runtime hooks, validation or additional functionality to Form Builder, | |
* place this file in /site/templates/form-builder.inc | |
* | |
* It will be included by /site/templates/form-builder.php when present. | |
* | |
*/ |
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
$http.get( 'http://...json',{ cache:false } ).success(function (response) { | |
$scope.data = response.lits; | |
}) |
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
<A HREF="/municipiosdeespana/municipio/_c_Yohpun480YUplpXd5VLWuCf0i7ns9zXwNfYsRRT60" CLASS="EBDSTYLE_2052">ADEMUZ</A> | |
(<A HREF=").+(" CLASS="EBDSTYLE_2052">).+(</A>) |
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
angularfile.js | |
$http({ | |
url: 'myurl/myfile.php', | |
method: "POST", | |
data: { 'data' : 'hi' } | |
}) | |
.then(function(response) { | |
console.log(response); | |
}, |
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 | |
$out = ''; | |
// create a new form field (also field wrapper) | |
$form = $modules->get("InputfieldForm"); | |
$form->action = "./"; | |
$form->method = "post"; | |
$form->attr("id+name",'subscribe-form'); |
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 | |
/** | |
* ProcessWire 'Hello world' demonstration module | |
* | |
* Demonstrates the Module interface and how to add hooks. | |
* | |
* ProcessWire 2.x | |
* Copyright (C) 2010 by Ryan Cramer | |
* Licensed under GNU/GPL v2, see LICENSE.TXT |
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
resolve: { | |
propertyData: function($stateParams, $q) { | |
// The gapi.client.realestate object should really be wrapped in an | |
// injectable service for testability... | |
var deferred = $q.defer(); | |
gapi.client.realestate.get($stateParams.propertyId).execute(function(r) { | |
deferred.resolve(r); | |
}); |
OlderNewer