public function testGetSupported_Properties() { $value = DAV::getSupported_Properties(); $expectedResult = array_merge(DAV::$WEBDAV_PROPERTIES, DAV::$PRINCIPAL_PROPERTIES, DAV::$ACL_PROPERTIES); $this->assertSame($expectedResult, $value); }
/** * @see DAV_Resource::user_propname() */ public function user_propname() { $this->init_props(); $retval = array(); $SUPPORTED_PROPERTIES = DAV::getSupported_Properties(); foreach (array_keys($this->stored_props) as $prop) { if (!isset($SUPPORTED_PROPERTIES[$prop])) { $retval[$prop] = true; } } return $retval; }