Pop\Data\Data::setPma PHP Method

setPma() public method

Set the PMA compatible XML flag
public setPma ( boolean $comp ) : Data
$comp boolean
return Data
    public function setPma($comp)
    {
        $this->pma = (bool) $comp;
        return $this;
    }

Usage Example

Ejemplo n.º 1
0
 public function testSetAndGetPma()
 {
     $d = new Data(__DIR__ . '/../tmp/test.sql');
     $d->setPma(true);
     $this->assertTrue($d->getPma());
 }