Пример #1
0
 public function testHttpDate()
 {
     $this->assertSame('Sat, 12 Jan 1985 12:34:56 GMT', DAV::httpDate(474381296), 'DAV::httpDate() should return the right date string');
 }
Пример #2
0
 /**
  * Gets the getlastmodified property in an XML ready format for webDAV
  * 
  * @return string XML
  */
 public final function prop_getlastmodified()
 {
     if (is_null($tmp = $this->user_prop_getlastmodified())) {
         return null;
     }
     return DAV::xmlescape(DAV::httpDate($tmp));
 }