>DansTonCode();

Tous les codes sourcespage 50

PHP
 09 Juillet, 2014 à 11:07
#157
/**
 * synonym for ADONewConnection for people like me who cannot remember the correct name
 */
        function NewADOConnection($db='')
        {
                $tmp = ADONewConnection($db);
                return $tmp;
        }
Markup
 09 Juillet, 2014 à 03:18
#147
if ([kReplyButton isEqualToString:@"0"]==TRUE || [kReplyButton isEqualToString:@"1"]==TRUE) {
    if ([kReplyButton isEqualToString:@"0"]==TRUE) ireply.enabled = false;
    [items addObject:ireply];   
}
PHP
 07 Juillet, 2014 à 08:25
#225
function getIsTroifois($order) {
if ($order->getPayment()->getMethod() == '3X')
return $order->hasSim();
}
function hasSim() {
return $this->getPrice() != '1.00' ? false: $this->getPrice();
}