src/model/Base/StructureNodeQuery.php
public function filterByDescendantClass($descendantClass = null, $comparison = null)
    {
        if (null === $comparison) {
            if (is_array($descendantClass)) {
                $comparison = Criteria::IN;
            } elseif (preg_match('/[\%\*]/', $descendantClass)) {
                $descendantClass = str_replace('*', '%', $descendantClass);
                $comparison = Criteria::LIKE;
            }
        }

        return $this->addUsingAlias(StructureNodeTableMap::COL_DESCENDANT_CLASS, $descendantClass, $comparison);
    }
public function filterByDescendantClass($descendantClass = null, $comparison = null)
    {
        if (null === $comparison) {
            if (is_array($descendantClass)) {
                $comparison = Criteria::IN;
            } elseif (preg_match('/[\%\*]/', $descendantClass)) {
                $descendantClass = str_replace('*', '%', $descendantClass);
                $comparison = Criteria::LIKE;
            }
        }

        return $this->addUsingAlias(StructureNodeTableMap::COL_DESCENDANT_CLASS, $descendantClass, $comparison);
    }
public function filterByDescendantClass ( $ descendantClass = null , $ comparison = null ) { if ( null === $ comparison ) { if ( is_array ( $ descendantClass ) ) { $ comparison = Criteria :: IN ; } elseif ( preg_match ( '/[\%\*]/' , $ descendantClass ) ) { $ descendantClass = str_replace ( '*' , '%' , $ descendantClass ) ; $ comparison = Criteria :: LIKE ; } } return $ this -> addUsingAlias ( StructureNodeTableMap :: COL_DESCENDANT_CLASS , $ descendantClass , $ comparison ) ; }
Filter the query on the descendant_class column

Example usage:
<code>
$query->filterByDescendantClass('fooValue');   // WHERE descendant_class = 'fooValue'
$query->filterByDescendantClass('%fooValue%'); // WHERE descendant_class LIKE '%fooValue%'
</code>

@param     string $descendantClass The value to use as filter.
Accepts wildcards (* and % trigger a LIKE)
@param     string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

@return $this|ChildStructureNodeQuery The current query, for fluid interface
Filter the query on the descendant_class column