public function unserialize($data)
    {
        $data = unserialize($data);
        $args = self::parseArray($data);
        $this->__construct($args['name']);

        foreach ($args as $property => $value)
        {
            if (!empty($value))
                $this->set($property, $value);
        }
            
        return $col;
    }
public function unserialize($data)
    {
        $data = unserialize($data);
        $args = self::parseArray($data);
        $this->__construct($args['name']);

        foreach ($args as $property => $value)
        {
            if (!empty($value))
                $this->set($property, $value);
        }
            
        return $col;
    }
public function unserialize ( $ data ) { $ data = unserialize ( $ data ) ; $ args = self :: parseArray ( $ data ) ; $ this -> __construct ( $ args [ 'name' ] ) ; foreach ( $ args as $ property => $ value ) { if ( ! empty ( $ value ) ) $ this -> set ( $ property , $ value ) ; } return $ col ; }
Restore the column from its serialize form
@param string $data The serialized data
Restore the column from its serialize form