PMA\libraries\Theme::setPath PHP Méthode

setPath() public méthode

set path to theme
public setPath ( string $path ) : void
$path string path to theme
Résultat void
    public function setPath($path)
    {
        $this->path = trim($path);
    }

Usage Example

Exemple #1
0
 /**
  * Test for Theme::getPath
  *
  * @return void
  */
 public function testGetSetPath()
 {
     $this->assertEmpty($this->object->getPath());
     $this->object->setPath('./themes/original');
     $this->assertEquals('./themes/original', $this->object->getPath());
 }
All Usage Examples Of PMA\libraries\Theme::setPath