src/model/Base/ReferenceQuery.php
public function filterByManaged($managed = null, $comparison = null)
    {
        if (is_string($managed)) {
            $managed = in_array(strtolower($managed), array('false', 'off', '-', 'no', 'n', '0', '')) ? false : true;
        }

        return $this->addUsingAlias(ReferenceTableMap::COL_MANAGED, $managed, $comparison);
    }
public function filterByManaged($managed = null, $comparison = null)
    {
        if (is_string($managed)) {
            $managed = in_array(strtolower($managed), array('false', 'off', '-', 'no', 'n', '0', '')) ? false : true;
        }

        return $this->addUsingAlias(ReferenceTableMap::COL_MANAGED, $managed, $comparison);
    }
public function filterByManaged ( $ managed = null , $ comparison = null ) { if ( is_string ( $ managed ) ) { $ managed = in_array ( strtolower ( $ managed ) , array ( 'false' , 'off' , '-' , 'no' , 'n' , '0' , '' ) ) ? false : true ; } return $ this -> addUsingAlias ( ReferenceTableMap :: COL_MANAGED , $ managed , $ comparison ) ; }
Filter the query on the managed column

Example usage:
<code>
$query->filterByManaged(true); // WHERE managed = true
$query->filterByManaged('yes'); // WHERE managed = true
</code>

@param     boolean|string $managed The value to use as filter.
Non-boolean arguments are converted using the following rules:
* 1, '1', 'true',  'on',  and 'yes' are converted to boolean true
* 0, '0', 'false', 'off', and 'no'  are converted to boolean false
Check on string values is case insensitive (so 'FaLsE' is seen as 'false').
@param     string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

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