public static function Init2($xml) { $obj = new self(); $obj->FromXml($xml); $result = $obj->CheckSign2(); return $result; /*if($result){ return $obj->GetValues(); }else{ return $result; }*/ }