OEModule\PASAPI\models\XpathRemap::findAllByXpath PHP 메소드

findAllByXpath() 공개 메소드

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