Documentation is available at Constraint.php
- <?php
- // ---------------------------------------------
- // class: Constraint.php
- // ---------------------------------------------
- /**
- * Represents a constraint. A value constraint is a boolean- valued expression
- * of variables and RDF Terms.
- *
- * <BR><BR>History:<UL>
- * <LI>08.09.2005: Initial version</LI>
- *
- * @author Tobias Gauss <tobias.gauss@web.de>
- * @version 0.9.3
- *
- * @package sparql
- */
- Class Constraint extends Object{
- /**
- * @var string The expression string.
- */
- private $expression;
- /**
- * @var boolean True if it is an outer filter, false if not.
- */
- private $outer;
- /**
- * Adds an expression string.
- *
- * @param String $exp the expression String
- * @return void
- */
- public function addExpression($exp){
- $this->expression = $exp;
- }
- /**
- * Returns the expression string.
- *
- * @return String the expression String
- */
- public function getExpression(){
- return $this->expression;
- }
- /**
- * Sets the filter type to outer or inner filter.
- * True for outer false for inner.
- *
- * @param boolean $boolean
- * @return void
- */
- public function setOuterFilter($boolean){
- $this->outer = $boolean;
- }
- /**
- * Returns true if this constraint is an outer filter- false if not.
- *
- * @return boolean
- */
- public function isOuterFilter(){
- return $this->outer;
- }
- }
- // end class: Constraint.php
- ?>
Documentation generated on Fri, 13 Jan 2006 07:48:00 +0100 by phpDocumentor 1.3.0RC4