Gc\Datatype\AbstractDatatype\AbstractEditor::getHelper PHP Method

getHelper() public method

Retrieve helper from $name
public getHelper ( string $name ) : mixed
$name string Name
return mixed
    public function getHelper($name)
    {
        return $this->getDatatype()->getHelper($name);
    }

Usage Example

Beispiel #1
0
 /**
  * Test
  *
  * @return void
  */
 public function testGetHelper()
 {
     $this->assertInstanceOf('Gc\\View\\Helper\\Partial', $this->object->getHelper('partial'));
 }