Files
FHC-Core/include/sabredav/tests/Sabre/DAVACL/MockACLNode.php
T
Paolo 0bc0a09bf4 - Removed file system execute permission for all files (no directories)
- application/extensions file system permission now is 775
- application/logs file system permission now is 775
- Added extensions directory in application/: config, controllers, helpers, hooks, libraries, models, views and widgets
- Added view views/extensions/manage.php
- Added controller controllers/system/extensions/Manager.php
- Added library ExtensionsLib to manage extensions
- Added model models/system/Extensions_model.php
- Moved code related to print out info from MigrationLib to EPrintfLib
2017-11-13 10:45:49 +01:00

57 lines
653 B
PHP

<?php
namespace Sabre\DAVACL;
use Sabre\DAV;
use Sabre\HTTP;
class MockACLNode extends DAV\Node implements IACL {
public $name;
public $acl;
function __construct($name, array $acl = array()) {
$this->name = $name;
$this->acl = $acl;
}
function getName() {
return $this->name;
}
function getOwner() {
return null;
}
function getGroup() {
return null;
}
function getACL() {
return $this->acl;
}
function setACL(array $acl) {
$this->acl = $acl;
}
function getSupportedPrivilegeSet() {
return null;
}
}