- version 3.6
Check those constraints:
$this->anything()
<?php | |
use PayPal\IPN\PPIPNMessage; | |
$postData = file_get_contents('php://input'); | |
$ipn = new PPIPNMessage($postData); | |
if (!$ipn->validate()) { | |
exit; |
<?php | |
/** | |
* Define a new access level to allow owners to save content visible to those who added them as a friend, | |
* as oppose to Friends access level, which shows content to users that have been added as friends by the owner | |
* | |
* Note that Elgg friendships are not reciprocal by default | |
* | |
* @author Ismayil Khayredinov <[email protected]> | |
* @copyright 2016 (c) Ismayil Khayredinov |
<?php | |
elgg_register_event_handler('upgrade', 'system', 'build_language_file', 999); | |
/** | |
* Rename: | |
* - Friends > Contacts | |
* | |
* @global array $GLOBALS | |
*/ |
<?php | |
// /views/default/object/blog.php | |
// brief view | |
preg_match_all("/\[player.*?\]/", $blog->description, $matches); | |
$embed = elgg_view('output/longtext', [ | |
'value' => $matches[0][0], | |
]); |
#!/usr/bin/env bash | |
declare -A params=$5 # Create an associative array | |
paramsTXT="" | |
if [ -n "$5" ]; then | |
for element in "${!params[@]}" | |
do | |
paramsTXT="${paramsTXT} | |
fastcgi_param ${element} ${params[$element]};" | |
done | |
fi |
<?php | |
class StripeSubscriptionHandler { | |
/** | |
* Cancel a Stripe subscription, optionally prorating and refunding the unused amount | |
* | |
* @param string $id Stripe Subscription ID | |
* @param bool $at_period_end Type of cancellation | |
* If set to true, will cancel the subscription at its end |
NCDC Climate Data Online National Centers for Environmental Information Web Services https://www.ncdc.noaa.gov/cdo-web/webservices
Web services wouldn't let me find locations or look up taxonomies by name, so I created my own mappings.
The easiest way to install and manage your Elgg project
https://getcomposer.org/download/
composer self-update
import VTextField from 'vuetify/lib/components/VTextField/VTextField'; | |
import VRating from 'vuetify/lib/components/VRating/VRating'; | |
import { convertToUnit } from 'vuetify/lib/util/helpers'; | |
export default { | |
name: 'input-temper', | |
extends: VTextField, | |
props: { |