public function hasProperty($name) { return $this->contains($name) || parent::canGetProperty($name) || parent::canSetProperty($name); }
public function testHasProperty() { $collection = new TAttributeCollection(); self::assertEquals(false, $collection->hasProperty('Property')); $collection->Property = 'value'; self::assertEquals(true, $collection->hasProperty('Property')); }