Show
Ignore:
Timestamp:
10/03/08 18:15:28 (3 months ago)
Author:
nowelium
Message:
 
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/php/misc/Hermit/src/Hermit/parameter/HermitProcedureParameter.php

    r20492 r20612  
    3030    public function bind(PDOStatement $stmt, $value){ 
    3131        $param = $value[0]; 
     32        $param->__init__(); 
    3233        $propertyNames = $param->getPropertyNames(); 
    3334 
     
    3839                    throw new InvalidArgumentException('param ' . $param . ' has not propery: ' . $key . ' instatement: ' . $stmt->queryString); 
    3940                } 
    40                 $stmt->bindParam($bindKey, $param->$key); 
     41                $stmt->bindParam($bindKey, $param->get($key)); 
    4142                continue; 
    4243            } 
    4344             
    4445            $paramValue = null; 
    45             if(isset($param->$key)){ 
    46                 $paramValue =  $param->$key; 
     46            if($param->issetValue($key)){ 
     47                $paramValue = $param->get($key); 
    4748            } 
    4849            if(null === $paramValue){