Changeset 6904

Show
Ignore:
Timestamp:
11/04/08 01:21:04 (2 months ago)
Author:
daybreaker
Message:

refs #1086: Textcube.Data.Link 컴포넌트에 XFN 관련 처리 추가

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/library/components/Textcube.Data.Link.php

    r6087 r6904  
    1919        $this->feed = 
    2020        $this->registered = 
     21        $this->xfn = 
    2122            null; 
    2223    } 
     
    152153            $query->setAttribute('written', $this->registered); 
    153154        } 
     155        if (isset($this->xfn)) { 
     156            $this->xfn = UTF8::lessenAsEncoding(trim($this->xfn), 255); 
     157            if (empty($this->xfn)) 
     158                return $this->_error('xfn'); 
     159            $query->setAttribute('xfn', $this->xfn, true); 
     160        } 
    154161        return $query; 
    155162    }