Path

ez components / documentation / api reference / 2007.2alpha1 / webdav


eZ Components 2007.2alpha1

Webdav: ezcWebdavResourceTypeProperty

[ Tutorial ] [ Class tree ] [ Element index ] [ ChangeLog ] [ Credits ]

Class: ezcWebdavResourceTypeProperty

An object of this class represents the Webdav property <resourcetype>. [source]

Parents

ezcWebdavInfrastructureBase
   |
   --ezcWebdavProperty
      |
      --ezcWebdavLiveProperty
         |
         --ezcWebdavResourceTypeProperty

Constants

TYPE_COLLECTION = 2
TYPE_RESSOURCE = 1

Properties

string read/write  $type
The resource type (free form).

Inherited Member Variables

From ezcWebdavProperty:
protected  ezcWebdavProperty::$properties
From ezcWebdavInfrastructureBase:
protected  ezcWebdavInfrastructureBase::$pluginData

Method Summary

public void __construct( [$type = null] )
Creates a new ezcWebdavResourceTypeProperty.
public bool hasNoContent( )
Check if property has no content.

Inherited Methods

From ezcWebdavLiveProperty :
public void ezcWebdavLiveProperty::__construct()
Creates a new live property.
From ezcWebdavProperty :
public void ezcWebdavProperty::__construct()
Creates a new property.
public void ezcWebdavProperty::clear()
Remove all contents from a property.
protected void ezcWebdavProperty::hasError()
Add property validation error.
public abstract bool ezcWebdavProperty::hasNoContent()
Check if property has no content.
From ezcWebdavInfrastructureBase :
public mixed ezcWebdavInfrastructureBase::getPluginData()
Retrieves plugin data from the storage.
public bool ezcWebdavInfrastructureBase::hasPluginData()
Returns if plugin data is available in the storage.
public void ezcWebdavInfrastructureBase::removePluginData()
Removes plugin data from the storage.
public void ezcWebdavInfrastructureBase::setPluginData()
Sets plugin data in the storage.

Methods

__construct

void __construct( [int $type = null] )
Creates a new ezcWebdavResourceTypeProperty.

Parameters

Name Type Description
$type int self::TYPE_COLLECTION or self::TYPE_RESSOURCE.

Redefinition of

Method Description
ezcWebdavLiveProperty::__construct() Creates a new live property.

hasNoContent

bool hasNoContent( )
Check if property has no content.
Should return true, if property has no assigned content.

Redefinition of

Method Description
ezcWebdavProperty::hasNoContent() Check if property has no content.

Last updated: Mon, 12 Nov 2007