mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-22 17:32:18 +00:00
EZ-Components
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
class ezcBaseTestOptions extends ezcBaseOptions
|
||||
{
|
||||
protected $properties = array( "foo" => "bar" );
|
||||
|
||||
public function __set( $propertyName, $propertyValue )
|
||||
{
|
||||
if ( $this->__isset( $propertyName ) )
|
||||
{
|
||||
$this->properties[$propertyName] = $propertyValue;
|
||||
}
|
||||
else
|
||||
{
|
||||
throw new ezcBasePropertyNotFoundException( $propertyName );
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user