Webdav: ezcWebdavProperty
[ ]
[ Plugin architecture ]
[ ]
[ ]
[ ]
[ ]
Class: ezcWebdavProperty
|
Base class for WebDAV property representation classes. [
source]
Parents
ezcWebdavInfrastructureBase
|
--ezcWebdavProperty
Descendents
Properties
|
array |
read
|
$errors
Validation errors for property |
|
bool |
read
|
$hasError
If the property has a property validation error. |
|
string |
read/write
|
$name
Name of property |
|
string |
read/write
|
$namespace
Namespace of property |
Member Variables
Inherited Member Variables
From
ezcWebdavInfrastructureBase:
Method Summary
|
public void |
__construct(
$namespace, $name )
Creates a new property object. |
|
public void |
clear(
)
Remove all contents from a property. |
|
protected void |
hasError(
$property, $value, $expected )
Indicates that a property has a validation error. |
|
public abstract bool |
hasNoContent(
)
Check if property has no content. |
Inherited Methods
From
ezcWebdavInfrastructureBase :
Methods
__construct
void __construct(
string
$namespace, string
$name )
Creates a new property object.
Creates a new property by namespace and name.
Parameters
| Name |
Type |
Description |
$namespace |
string |
|
$name |
string |
|
Redefined in descendants as
clear
void clear(
)
Remove all contents from a property.
Clear a property, so that it will be recognized as empty later.
Redefined in descendants as
hasError
void hasError(
string
$property, mixed
$value, string
$expected )
Indicates that a property has a validation error.
Method called, when a property validation error occurs. The error is stored and the property is set as errnous.
Parameters
| Name |
Type |
Description |
$property |
string |
|
$value |
mixed |
|
$expected |
string |
|
hasNoContent
bool hasNoContent(
)
Check if property has no content.
The implementation of this method must return true, if no content is stored in the property.
Redefined in descendants as
Last updated: Mon, 17 Dec 2007