public function check($intDynamicPosition = 0)
    {
        $blnReturn = false;

        if ($this->__subject instanceof Element) {
            // Any element based on Element
            $strValue = $this->__subject->__getValue(true, $intDynamicPosition);
            $strValue = (is_null($strValue)) ? $strValue = $this->__subject->getValue($intDynamicPosition) : $strValue;

            if (! is_null($strValue)) {
                // *** Get the postioned value if a dynamic field is part of a comparison.
                if (is_array($strValue) && isset($strValue[$intDynamicPosition])) {
                    $strValue = $strValue[$intDynamicPosition];
                }

                $blnReturn = $this->__verify($strValue);
            }
        } else {
            throw new \Exception("Invalid subject supplied in Comparison. Class " . get_class($this->__subject) . " given. Expecting instance of Element.", 1);
        }

        return $blnReturn;
    }
public function check($intDynamicPosition = 0)
    {
        $blnReturn = false;

        if ($this->__subject instanceof Element) {
            // Any element based on Element
            $strValue = $this->__subject->__getValue(true, $intDynamicPosition);
            $strValue = (is_null($strValue)) ? $strValue = $this->__subject->getValue($intDynamicPosition) : $strValue;

            if (! is_null($strValue)) {
                // *** Get the postioned value if a dynamic field is part of a comparison.
                if (is_array($strValue) && isset($strValue[$intDynamicPosition])) {
                    $strValue = $strValue[$intDynamicPosition];
                }

                $blnReturn = $this->__verify($strValue);
            }
        } else {
            throw new \Exception("Invalid subject supplied in Comparison. Class " . get_class($this->__subject) . " given. Expecting instance of Element.", 1);
        }

        return $blnReturn;
    }
public function check ( $ intDynamicPosition = 0 ) { $ blnReturn = false ; if ( $ this -> __subject instanceof Element ) { // Any element based on Element $ strValue = $ this -> __subject -> __getValue ( true , $ intDynamicPosition ) ; $ strValue = ( is_null ( $ strValue ) ) ? $ strValue = $ this -> __subject -> getValue ( $ intDynamicPosition ) : $ strValue ; if ( ! is_null ( $ strValue ) ) { // *** Get the postioned value if a dynamic field is part of a comparison. if ( is_array ( $ strValue ) && isset ( $ strValue [ $ intDynamicPosition ] ) ) { $ strValue = $ strValue [ $ intDynamicPosition ] ; } $ blnReturn = $ this -> __verify ( $ strValue ) ; } } else { throw new \ Exception ( "Invalid subject supplied in Comparison. Class " . get_class ( $ this -> __subject ) . " given. Expecting instance of Element." , 1 ) ; } return $ blnReturn ; }
Check this comparison

@param integer Dynamic position of the subject to check
@return boolean True if Comparison meets requirements, false if not.
Check this comparison