Methods summary
public
|
#
__construct( string $dbName = 'cli_db', string $modelName = 'cli_db\\propel\\PubRelationship', string $modelAlias = null )
Initializes internal state of BasePubRelationshipQuery object.
Initializes internal state of BasePubRelationshipQuery object.
Parameters
- $dbName
string $dbName The dabase name
- $modelName
string $modelName The phpName of a model, e.g. 'Book'
- $modelAlias
string $modelAlias The alias for the model in this query, e.g. 'b'
|
public static
cli_db\propel\PubRelationshipQuery
|
|
public
cli_db\propel\PubRelationship |cli_db\propel\PubRelationship[] |mixed
|
#
findPk( mixed $key, PropelPDO $con = null )
Find object by primary key. Propel uses the instance pool to skip the
database if the object exists. Go fast if the query is untouched.
Find object by primary key. Propel uses the instance pool to skip the
database if the object exists. Go fast if the query is untouched.
$obj = $c->findPk(12, $con);
Parameters
- $key
mixed $key Primary key to use for the query
- $con
PropelPDO $con an optional connection object
Returns
|
public
cli_db\propel\PubRelationship
|
#
findOneByPubRelationshipId( mixed $key, PropelPDO $con = null )
Alias of findPk to use instance pooling
Alias of findPk to use instance pooling
Parameters
- $key
mixed $key Primary key to use for the query
- $con
PropelPDO $con A connection object
Returns
Throws
PropelException
|
protected
cli_db\propel\PubRelationship
|
#
findPkSimple( mixed $key, PropelPDO $con )
Find object by primary key using raw SQL to go fast. Bypass doSelect() and
the object formatter by using generated code.
Find object by primary key using raw SQL to go fast. Bypass doSelect() and
the object formatter by using generated code.
Parameters
- $key
mixed $key Primary key to use for the query
- $con
PropelPDO $con A connection object
Returns
Throws
PropelException
|
protected
cli_db\propel\PubRelationship |cli_db\propel\PubRelationship[] |mixed
|
#
findPkComplex( mixed $key, PropelPDO $con )
Find object by primary key.
Find object by primary key.
Parameters
- $key
mixed $key Primary key to use for the query
- $con
PropelPDO $con A connection object
Returns
|
public
PropelObjectCollection|cli_db\propel\PubRelationship[] |mixed
|
#
findPks( array $keys, PropelPDO $con = null )
Find objects by primary key
$objs = $c->findPks(array(12, 56, 832), $con);
Find objects by primary key
$objs = $c->findPks(array(12, 56, 832), $con);
Parameters
- $keys
array $keys Primary keys to use for the query
- $con
PropelPDO $con an optional connection object
Returns
|
public
cli_db\propel\PubRelationshipQuery
|
#
filterByPrimaryKey( mixed $key )
Filter the query by primary key
Filter the query by primary key
Parameters
- $key
mixed $key Primary key to use for the query
Returns
|
public
cli_db\propel\PubRelationshipQuery
|
#
filterByPrimaryKeys( array $keys )
Filter the query by a list of primary keys
Filter the query by a list of primary keys
Parameters
- $keys
array $keys The list of primary key to use for the query
Returns
|
public
cli_db\propel\PubRelationshipQuery
|
#
filterByPubRelationshipId( mixed $pubRelationshipId = null, string $comparison = null )
Filter the query on the pub_relationship_id column
Filter the query on the pub_relationship_id column
Example usage:
$query->filterByPubRelationshipId(1234);
$query->filterByPubRelationshipId(array(12, 34));
$query->filterByPubRelationshipId(array('min' => 12));
$query->filterByPubRelationshipId(array('max' => 12));
Parameters
- $pubRelationshipId
mixed $pubRelationshipId The value to use as filter. Use scalar values for equality.
Use array values for in_array() equivalent. Use associative array('min' =>
$minValue, 'max' => $maxValue) for intervals.
- $comparison
string $comparison Operator to use for the column comparison, defaults to
Criteria::EQUAL
Returns
|
public
cli_db\propel\PubRelationshipQuery
|
#
filterBySubjectId( mixed $subjectId = null, string $comparison = null )
Filter the query on the subject_id column
Filter the query on the subject_id column
Example usage:
$query->filterBySubjectId(1234);
$query->filterBySubjectId(array(12, 34));
$query->filterBySubjectId(array('min' => 12));
$query->filterBySubjectId(array('max' => 12));
Parameters
- $subjectId
mixed $subjectId The value to use as filter. Use scalar values for equality. Use array
values for in_array() equivalent. Use associative array('min' => $minValue,
'max' => $maxValue) for intervals.
- $comparison
string $comparison Operator to use for the column comparison, defaults to
Criteria::EQUAL
Returns
See
|
public
cli_db\propel\PubRelationshipQuery
|
#
filterByObjectId( mixed $objectId = null, string $comparison = null )
Filter the query on the object_id column
Filter the query on the object_id column
Example usage:
$query->filterByObjectId(1234);
$query->filterByObjectId(array(12, 34));
$query->filterByObjectId(array('min' => 12));
$query->filterByObjectId(array('max' => 12));
Parameters
- $objectId
mixed $objectId The value to use as filter. Use scalar values for equality. Use array
values for in_array() equivalent. Use associative array('min' => $minValue,
'max' => $maxValue) for intervals.
- $comparison
string $comparison Operator to use for the column comparison, defaults to
Criteria::EQUAL
Returns
See
|
public
cli_db\propel\PubRelationshipQuery
|
#
filterByTypeId( mixed $typeId = null, string $comparison = null )
Filter the query on the type_id column
Filter the query on the type_id column
Example usage:
$query->filterByTypeId(1234);
$query->filterByTypeId(array(12, 34));
$query->filterByTypeId(array('min' => 12));
$query->filterByTypeId(array('max' => 12));
Parameters
- $typeId
mixed $typeId The value to use as filter. Use scalar values for equality. Use array
values for in_array() equivalent. Use associative array('min' => $minValue,
'max' => $maxValue) for intervals.
- $comparison
string $comparison Operator to use for the column comparison, defaults to
Criteria::EQUAL
Returns
See
|
public
cli_db\propel\PubRelationshipQuery
|
#
filterByPubRelatedByObjectId( cli_db\propel\Pub |PropelObjectCollection $pub, string $comparison = null )
Filter the query by a related Pub object
Filter the query by a related Pub object
Parameters
- $pub
cli_db\propel\Pub |PropelObjectCollection
$pub The related object(s) to use as filter
- $comparison
string $comparison Operator to use for the column comparison, defaults to
Criteria::EQUAL
Returns
Throws
PropelException - if the provided filter is invalid.
|
public
cli_db\propel\PubRelationshipQuery
|
#
joinPubRelatedByObjectId( string $relationAlias = null, string $joinType = cli_db\propel\om\Criteria::INNER_JOIN )
Adds a JOIN clause to the query using the PubRelatedByObjectId relation
Adds a JOIN clause to the query using the PubRelatedByObjectId relation
Parameters
- $relationAlias
string $relationAlias optional alias for the relation
- $joinType
string $joinType Accepted values are null, 'left join', 'right join', 'inner join'
Returns
|
public
cli_db\propel\PubQuery
|
#
usePubRelatedByObjectIdQuery( string $relationAlias = null, string $joinType = cli_db\propel\om\Criteria::INNER_JOIN )
Use the PubRelatedByObjectId relation Pub object
Use the PubRelatedByObjectId relation Pub object
Parameters
- $relationAlias
string $relationAlias optional alias for the relation, to be used as main alias in the
secondary query
- $joinType
string $joinType Accepted values are null, 'left join', 'right join', 'inner join'
Returns
See
useQuery()
|
public
cli_db\propel\PubRelationshipQuery
|
#
filterByPubRelatedBySubjectId( cli_db\propel\Pub |PropelObjectCollection $pub, string $comparison = null )
Filter the query by a related Pub object
Filter the query by a related Pub object
Parameters
- $pub
cli_db\propel\Pub |PropelObjectCollection
$pub The related object(s) to use as filter
- $comparison
string $comparison Operator to use for the column comparison, defaults to
Criteria::EQUAL
Returns
Throws
PropelException - if the provided filter is invalid.
|
public
cli_db\propel\PubRelationshipQuery
|
#
joinPubRelatedBySubjectId( string $relationAlias = null, string $joinType = cli_db\propel\om\Criteria::INNER_JOIN )
Adds a JOIN clause to the query using the PubRelatedBySubjectId relation
Adds a JOIN clause to the query using the PubRelatedBySubjectId relation
Parameters
- $relationAlias
string $relationAlias optional alias for the relation
- $joinType
string $joinType Accepted values are null, 'left join', 'right join', 'inner join'
Returns
|
public
cli_db\propel\PubQuery
|
#
usePubRelatedBySubjectIdQuery( string $relationAlias = null, string $joinType = cli_db\propel\om\Criteria::INNER_JOIN )
Use the PubRelatedBySubjectId relation Pub object
Use the PubRelatedBySubjectId relation Pub object
Parameters
- $relationAlias
string $relationAlias optional alias for the relation, to be used as main alias in the
secondary query
- $joinType
string $joinType Accepted values are null, 'left join', 'right join', 'inner join'
Returns
See
useQuery()
|
public
cli_db\propel\PubRelationshipQuery
|
#
filterByCvterm( cli_db\propel\Cvterm |PropelObjectCollection $cvterm, string $comparison = null )
Filter the query by a related Cvterm object
Filter the query by a related Cvterm object
Parameters
- $cvterm
cli_db\propel\Cvterm |PropelObjectCollection
$cvterm The related object(s) to use as filter
- $comparison
string $comparison Operator to use for the column comparison, defaults to
Criteria::EQUAL
Returns
Throws
PropelException - if the provided filter is invalid.
|
public
cli_db\propel\PubRelationshipQuery
|
#
joinCvterm( string $relationAlias = null, string $joinType = cli_db\propel\om\Criteria::INNER_JOIN )
Adds a JOIN clause to the query using the Cvterm relation
Adds a JOIN clause to the query using the Cvterm relation
Parameters
- $relationAlias
string $relationAlias optional alias for the relation
- $joinType
string $joinType Accepted values are null, 'left join', 'right join', 'inner join'
Returns
|
public
cli_db\propel\CvtermQuery
|
#
useCvtermQuery( string $relationAlias = null, string $joinType = cli_db\propel\om\Criteria::INNER_JOIN )
Use the Cvterm relation Cvterm object
Use the Cvterm relation Cvterm object
Parameters
- $relationAlias
string $relationAlias optional alias for the relation, to be used as main alias in the
secondary query
- $joinType
string $joinType Accepted values are null, 'left join', 'right join', 'inner join'
Returns
See
useQuery()
|
public
cli_db\propel\PubRelationshipQuery
|
|
Magic methods summary
public
cli_db\propel\PubRelationshipQuery
|
#
orderByPubRelationshipId( mixed $order = cli_db\propel\om\Criteria::ASC )
Order by the pub_relationship_id column
Order by the pub_relationship_id column
Parameters
Returns
|
public
cli_db\propel\PubRelationshipQuery
|
#
orderBySubjectId( mixed $order = cli_db\propel\om\Criteria::ASC )
Order by the subject_id column
Order by the subject_id column
Parameters
Returns
|
public
cli_db\propel\PubRelationshipQuery
|
#
orderByObjectId( mixed $order = cli_db\propel\om\Criteria::ASC )
Order by the object_id column
Order by the object_id column
Parameters
Returns
|
public
cli_db\propel\PubRelationshipQuery
|
#
orderByTypeId( mixed $order = cli_db\propel\om\Criteria::ASC )
Order by the type_id column
Order by the type_id column
Parameters
Returns
|
public
cli_db\propel\PubRelationshipQuery
|
|
public
cli_db\propel\PubRelationshipQuery
|
#
groupBySubjectId( )
Group by the subject_id column
Group by the subject_id column
Returns
|
public
cli_db\propel\PubRelationshipQuery
|
#
groupByObjectId( )
Group by the object_id column
Group by the object_id column
Returns
|
public
cli_db\propel\PubRelationshipQuery
|
#
groupByTypeId( )
Group by the type_id column
Group by the type_id column
Returns
|
public
cli_db\propel\PubRelationshipQuery
|
#
leftJoin( mixed $relation = )
Adds a LEFT JOIN clause to the query
Adds a LEFT JOIN clause to the query
Parameters
Returns
|
public
cli_db\propel\PubRelationshipQuery
|
#
rightJoin( mixed $relation = )
Adds a RIGHT JOIN clause to the query
Adds a RIGHT JOIN clause to the query
Parameters
Returns
|
public
cli_db\propel\PubRelationshipQuery
|
#
innerJoin( mixed $relation = )
Adds a INNER JOIN clause to the query
Adds a INNER JOIN clause to the query
Parameters
Returns
|
public
cli_db\propel\PubRelationshipQuery
|
#
leftJoinPubRelatedByObjectId( mixed $relationAlias = null )
Adds a LEFT JOIN clause to the query using the PubRelatedByObjectId
relation
Adds a LEFT JOIN clause to the query using the PubRelatedByObjectId
relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
cli_db\propel\PubRelationshipQuery
|
#
rightJoinPubRelatedByObjectId( mixed $relationAlias = null )
Adds a RIGHT JOIN clause to the query using the PubRelatedByObjectId
relation
Adds a RIGHT JOIN clause to the query using the PubRelatedByObjectId
relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
cli_db\propel\PubRelationshipQuery
|
#
innerJoinPubRelatedByObjectId( mixed $relationAlias = null )
Adds a INNER JOIN clause to the query using the PubRelatedByObjectId
relation
Adds a INNER JOIN clause to the query using the PubRelatedByObjectId
relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
cli_db\propel\PubRelationshipQuery
|
#
leftJoinPubRelatedBySubjectId( mixed $relationAlias = null )
Adds a LEFT JOIN clause to the query using the PubRelatedBySubjectId
relation
Adds a LEFT JOIN clause to the query using the PubRelatedBySubjectId
relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
cli_db\propel\PubRelationshipQuery
|
#
rightJoinPubRelatedBySubjectId( mixed $relationAlias = null )
Adds a RIGHT JOIN clause to the query using the PubRelatedBySubjectId
relation
Adds a RIGHT JOIN clause to the query using the PubRelatedBySubjectId
relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
cli_db\propel\PubRelationshipQuery
|
#
innerJoinPubRelatedBySubjectId( mixed $relationAlias = null )
Adds a INNER JOIN clause to the query using the PubRelatedBySubjectId
relation
Adds a INNER JOIN clause to the query using the PubRelatedBySubjectId
relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
cli_db\propel\PubRelationshipQuery
|
#
leftJoinCvterm( mixed $relationAlias = null )
Adds a LEFT JOIN clause to the query using the Cvterm relation
Adds a LEFT JOIN clause to the query using the Cvterm relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
cli_db\propel\PubRelationshipQuery
|
#
rightJoinCvterm( mixed $relationAlias = null )
Adds a RIGHT JOIN clause to the query using the Cvterm relation
Adds a RIGHT JOIN clause to the query using the Cvterm relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
cli_db\propel\PubRelationshipQuery
|
#
innerJoinCvterm( mixed $relationAlias = null )
Adds a INNER JOIN clause to the query using the Cvterm relation
Adds a INNER JOIN clause to the query using the Cvterm relation
Parameters
- $relationAlias
mixed $relationAlias
Returns
|
public
cli_db\propel\PubRelationship
|
#
findOne( PropelPDO $con = null )
Return the first PubRelationship matching the query
Return the first PubRelationship matching the query
Parameters
Returns
|
public
cli_db\propel\PubRelationship
|
#
findOneOrCreate( PropelPDO $con = null )
Return the first PubRelationship matching the query, or a new PubRelationship
object populated from the query conditions when no match is found
Return the first PubRelationship matching the query, or a new PubRelationship
object populated from the query conditions when no match is found
Parameters
Returns
|
public
cli_db\propel\PubRelationship
|
#
findOneBySubjectId( integer $subject_id = )
Return the first PubRelationship filtered by the subject_id column
Return the first PubRelationship filtered by the subject_id column
Parameters
- $subject_id
integer $subject_id
Returns
|
public
cli_db\propel\PubRelationship
|
#
findOneByObjectId( integer $object_id = )
Return the first PubRelationship filtered by the object_id column
Return the first PubRelationship filtered by the object_id column
Parameters
- $object_id
integer $object_id
Returns
|
public
cli_db\propel\PubRelationship
|
#
findOneByTypeId( integer $type_id = )
Return the first PubRelationship filtered by the type_id column
Return the first PubRelationship filtered by the type_id column
Parameters
Returns
|
public
array
|
#
findByPubRelationshipId( integer $pub_relationship_id = )
Return PubRelationship objects filtered by the pub_relationship_id column
Return PubRelationship objects filtered by the pub_relationship_id column
Parameters
- $pub_relationship_id
integer $pub_relationship_id
Returns
array
|
public
array
|
#
findBySubjectId( integer $subject_id = )
Return PubRelationship objects filtered by the subject_id column
Return PubRelationship objects filtered by the subject_id column
Parameters
- $subject_id
integer $subject_id
Returns
array
|
public
array
|
#
findByObjectId( integer $object_id = )
Return PubRelationship objects filtered by the object_id column
Return PubRelationship objects filtered by the object_id column
Parameters
- $object_id
integer $object_id
Returns
array
|
public
array
|
#
findByTypeId( integer $type_id = )
Return PubRelationship objects filtered by the type_id column
Return PubRelationship objects filtered by the type_id column
Parameters
Returns
array
|