Path

ez components / documentation / api reference / 2007.2 / webdav


Webdav: ezcWebdavGetContentTypeProperty

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

Class: ezcWebdavGetContentTypeProperty

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

Parents

ezcWebdavInfrastructureBase
   |
   --ezcWebdavProperty
      |
      --ezcWebdavLiveProperty
         |
         --ezcWebdavGetContentTypeProperty

Properties

string read/write  $charset
The character set, if provided, else null.
string read/write  $mime
The MIME type.

Inherited Member Variables

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

Method Summary

public void __construct( [$mime = null], [$charset = null] )
Creates a new ezcWebdavGetContentTypeProperty.
public bool hasNoContent( )
Returns 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 object.
public void ezcWebdavProperty::clear()
Remove all contents from a property.
protected void ezcWebdavProperty::hasError()
Indicates that a property has a 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( [string $mime = null], [string $charset = null] )
Creates a new ezcWebdavGetContentTypeProperty.
The $mime must be a string representing a valid MIME type (e.g. 'text/plain'). An optional characterset can be defined (e.g. 'UTF-8').

Parameters

Name Type Description
$mime string  
$charset string  

Redefinition of

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

hasNoContent

bool hasNoContent( )
Returns if property has no content.
Returns true, if the property has no content stored.

Redefinition of

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

Last updated: Mon, 17 Dec 2007