src/core/framework/core/3rdparty/ezcomponents/Database/src/sqlabstraction/expression.php
public function lOr()
    {
        $args = func_get_args();
        if ( count( $args ) < 1 )
        {
            throw new ezcQueryVariableParameterException( 'lOr', count( $args ), 1 );
        }

        $elements = ezcQuerySelect::arrayFlatten( $args );
        if ( count( $elements ) == 1 )
        {
            return $elements[0];
        }
        else
        {
            return '( ' . join( ' OR ', $elements ) . ' )';
        }
    }
public function lOr()
    {
        $args = func_get_args();
        if ( count( $args ) < 1 )
        {
            throw new ezcQueryVariableParameterException( 'lOr', count( $args ), 1 );
        }

        $elements = ezcQuerySelect::arrayFlatten( $args );
        if ( count( $elements ) == 1 )
        {
            return $elements[0];
        }
        else
        {
            return '( ' . join( ' OR ', $elements ) . ' )';
        }
    }
public function lOr ( ) { $ args = func_get_args ( ) ; if ( count ( $ args ) < 1 ) { throw new ezcQueryVariableParameterException ( 'lOr' , count ( $ args ) , 1 ) ; } $ elements = ezcQuerySelect :: arrayFlatten ( $ args ) ; if ( count ( $ elements ) == 1 ) { return $ elements [ 0 ] ; } else { return '( ' . join ( ' OR ' , $ elements ) . ' )' ; } }
Returns the SQL to bind logical expressions together using a logical or.

lOr() accepts an arbitrary number of parameters. Each parameter
must contain a logical expression or an array with logical expressions.

Example:
<code>
$q = ezcDbInstance::get()->createSelectQuery();
$e = $q->expr;
$q->select( '*' )->from( 'table' )
->where( $e->lOr( $e->eq( 'id', $q->bindValue( 1 ) ),
$e->eq( 'id', $q->bindValue( 2 ) ) ) );
</code>

@throws ezcDbAbstractionException if called with no parameters.
@return string a logical expression
Returns the SQL to bind logical expressions together using a logical or .