Changeset View
Changeset View
Standalone View
Standalone View
plugins/libkolab/lib/kolab_storage_folder_virtual.php
Show All 17 Lines | |||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||||
* GNU Affero General Public License for more details. | * GNU Affero General Public License for more details. | ||||
* | * | ||||
* You should have received a copy of the GNU Affero General Public License | * You should have received a copy of the GNU Affero General Public License | ||||
* along with this program. If not, see <http://www.gnu.org/licenses/>. | * along with this program. If not, see <http://www.gnu.org/licenses/>. | ||||
*/ | */ | ||||
class kolab_storage_folder_virtual extends kolab_storage_folder_api | class kolab_storage_folder_virtual extends kolab_storage_folder_api | ||||
{ | { | ||||
public $virtual = true; | |||||
protected $displayname; | protected $displayname; | ||||
public function __construct($name, $dispname, $ns, $parent = '') | public function __construct($name, $dispname, $ns, $parent = '') | ||||
{ | { | ||||
parent::__construct($name); | parent::__construct($name); | ||||
$this->namespace = $ns; | $this->namespace = $ns; | ||||
$this->parent = $parent; | $this->parent = $parent; | ||||
$this->displayname = $dispname; | $this->displayname = $dispname; | ||||
$this->virtual = true; | |||||
} | } | ||||
/** | /** | ||||
* Get the display name value of this folder | * Get the display name value of this folder | ||||
* | * | ||||
* @return string Folder name | * @return string Folder name | ||||
*/ | */ | ||||
public function get_name() | public function get_name() | ||||
Show All 15 Lines |