Ejemplo n.º 1
0
    protected function getSourceSQL()
    {
        $sql = parent::getSourceSQL();
        $sql .= ' and attribute in (select attributeid from attributes
			where site in (select siteid from sites where keep = true)
				and hidden = \'0\')';
        return $sql;
    }
Ejemplo n.º 2
0
 protected function getSourceSQL()
 {
     $sql = parent::getSourceSQL();
     $sql .= ' and keep = true';
     return $sql;
 }