public getEditor ( |
||
$property | Property | |
return |
public function getEditor(PropertyModel $property)
{
$this->setProperty($property);
if ($this->editor === null) {
$this->editor = new Editor($this);
}
return $this->editor;
}
/** * Test * * @return void */ public function testGetEditor() { $this->assertInstanceOf('Datatypes\\RadioButtonList\\Editor', $this->object->getEditor($this->property)); }