OEModule\PASAPI\models\XpathRemap::findAllByXpath PHP Method

findAllByXpath() public method

Simple wrapper function for getting the remaps for a specific Xpath.
public findAllByXpath ( string $xpath = '/' ) : CActiveRecord[]
$xpath string
return CActiveRecord[]
    public function findAllByXpath($xpath = '/')
    {
        $condition = 'xpath like :xpath';
        $params = array(':xpath' => "{$xpath}%");
        return $this->findAll($condition, $params);
    }