Horde_Kolab_Storage_Folder_Data
in package
A helper for folder data.
Copyright 2012-2017 Horde LLC (http://www.horde.org/)
See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Tags
Table of Contents
- $_namespace : Horde_Kolab_Storage_Folder_Namespace
- Namespace handler
- $_path : string
- Folder path.
- $_type : Horde_Kolab_Storage_Folder_Type
- Folder type.
- __construct() : mixed
- Constructor.
- toArray() : array<string|int, mixed>
- Prepare an array representing the folder data.
Properties
$_namespace
Namespace handler
private
Horde_Kolab_Storage_Folder_Namespace
$_namespace
$_path
Folder path.
private
string
$_path
$_type
Folder type.
private
Horde_Kolab_Storage_Folder_Type
$_type
Methods
__construct()
Constructor.
public
__construct(string $path, Horde_Kolab_Storage_Folder_Type $type, Horde_Kolab_Storage_Folder_Namespace $namespace) : mixed
Parameters
- $path : string
-
The folder path.
- $type : Horde_Kolab_Storage_Folder_Type
-
The folder type.
- $namespace : Horde_Kolab_Storage_Folder_Namespace
-
The namespace hanlder.
Return values
mixed —toArray()
Prepare an array representing the folder data.
public
toArray() : array<string|int, mixed>
Return values
array<string|int, mixed> —The folder data.