Prado\Web\UI\WebControls\TXmlTransform::getTransformPath PHP Méthode

getTransformPath() public méthode

public getTransformPath ( ) : string
Résultat string The path to the XML style sheet.
    public function getTransformPath()
    {
        return $this->getViewState('TransformPath', '');
    }

Usage Example

 public function testSetTransformPathAsNamespace()
 {
     if (Prado::getPathOfAlias('UnitTest') === null) {
         Prado::setPathOfAlias('UnitTest', dirname(__FILE__) . '/data');
     }
     $expected = $this->transformPath;
     $transform = new TXmlTransform();
     $transform->setTransformPath('UnitTest.hello');
     $this->assertEquals($expected, $transform->getTransformPath());
 }