选择语言 :

 Module_Storage_Driver::_format_data

null Module_Storage_Driver::_format_data( )
File: ./modules/storage/driver.class.php
110
111
112
113
114
115
116
117
118
119
120
121
122
123
protected function _format_data(&$data)
{
    if (!is_numeric($data) && !is_string($data))
    {
        # 序列化
        $data = '::serialize::' . serialize($data);
 
        # 压缩
        if ($this->compress)
        {
            $data = '::gzcompress::' . @gzcompress($data,9);
        }
    }
}