Unserialize() 공개 메소드

将序列化的值反序列化后赋予Data属性值
public Unserialize ( string $s ) : boolean
$s string 序列化值
리턴 boolean
예제 #1
0
 public function LoadConfigs()
 {
     $sql = $this->db->sql->Select($this->table['Config'], array('*'), '', '', '', '');
     $array = $this->db->Query($sql);
     foreach ($array as $c) {
         $m = new Metas();
         $m->Unserialize($c['conf_Value']);
         $this->configs[$c['conf_Name']] = $m;
     }
 }