![]() |
rapila
|
Public Member Functions | |
__construct ($dbName=null, $modelName=null, $modelAlias=null) | |
findPk ($key, $con=null) | |
findOneById ($key, $con=null) | |
findPks ($keys, $con=null) | |
filterByPrimaryKey ($key) | |
filterByPrimaryKeys ($keys) | |
filterById ($id=null, $comparison=null) | |
filterByName ($name=null, $comparison=null) | |
filterByUrl ($url=null, $comparison=null) | |
filterByDescription ($description=null, $comparison=null) | |
filterByLanguageId ($languageId=null, $comparison=null) | |
filterByOwnerId ($ownerId=null, $comparison=null) | |
filterByLinkCategoryId ($linkCategoryId=null, $comparison=null) | |
filterBySort ($sort=null, $comparison=null) | |
filterByIsPrivate ($isPrivate=null, $comparison=null) | |
filterByCreatedAt ($createdAt=null, $comparison=null) | |
filterByUpdatedAt ($updatedAt=null, $comparison=null) | |
filterByCreatedBy ($createdBy=null, $comparison=null) | |
filterByUpdatedBy ($updatedBy=null, $comparison=null) | |
filterByLanguage ($language, $comparison=null) | |
joinLanguage ($relationAlias=null, $joinType=Criteria::LEFT_JOIN) | |
useLanguageQuery ($relationAlias=null, $joinType=Criteria::LEFT_JOIN) | |
filterByUserRelatedByOwnerId ($user, $comparison=null) | |
joinUserRelatedByOwnerId ($relationAlias=null, $joinType=Criteria::INNER_JOIN) | |
useUserRelatedByOwnerIdQuery ($relationAlias=null, $joinType=Criteria::INNER_JOIN) | |
filterByLinkCategory ($linkCategory, $comparison=null) | |
joinLinkCategory ($relationAlias=null, $joinType=Criteria::LEFT_JOIN) | |
useLinkCategoryQuery ($relationAlias=null, $joinType=Criteria::LEFT_JOIN) | |
filterByUserRelatedByCreatedBy ($user, $comparison=null) | |
joinUserRelatedByCreatedBy ($relationAlias=null, $joinType=Criteria::LEFT_JOIN) | |
useUserRelatedByCreatedByQuery ($relationAlias=null, $joinType=Criteria::LEFT_JOIN) | |
filterByUserRelatedByUpdatedBy ($user, $comparison=null) | |
joinUserRelatedByUpdatedBy ($relationAlias=null, $joinType=Criteria::LEFT_JOIN) | |
useUserRelatedByUpdatedByQuery ($relationAlias=null, $joinType=Criteria::LEFT_JOIN) | |
prune ($link=null) | |
recentlyUpdated ($nbDays=7) | |
lastUpdatedFirst () | |
firstUpdatedFirst () | |
recentlyCreated ($nbDays=7) | |
lastCreatedFirst () | |
firstCreatedFirst () | |
findMostRecentUpdate ($bAsTimestamp=false) | |
filterByPKArray ($pkArray) | |
filterByPKString ($pkString) | |
Static Public Member Functions | |
static | create ($modelAlias=null, $criteria=null) |
Protected Member Functions | |
findPkSimple ($key, $con) | |
findPkComplex ($key, $con) | |
BaseLinkQuery::__construct | ( | $dbName = null , |
|
$modelName = null , |
|||
$modelAlias = null |
|||
) |
Initializes internal state of BaseLinkQuery object.
string | $dbName | The dabase name |
string | $modelName | The phpName of a model, e.g. 'Book' |
string | $modelAlias | The alias for the model in this query, e.g. 'b' |
|
static |
BaseLinkQuery::filterByCreatedAt | ( | $createdAt = null , |
|
$comparison = null |
|||
) |
Filter the query on the created_at column
Example usage: $query->filterByCreatedAt('2011-03-14'); // WHERE created_at = '2011-03-14' $query->filterByCreatedAt('now'); // WHERE created_at = '2011-03-14' $query->filterByCreatedAt(array('max' => 'yesterday')); // WHERE created_at < '2011-03-13'
mixed | $createdAt | The value to use as filter. Values can be integers (unix timestamps), DateTime objects, or strings. Empty strings are treated as NULL. Use scalar values for equality. Use array values for in_array() equivalent. Use associative array('min' => $minValue, 'max' => $maxValue) for intervals. |
string | $comparison | Operator to use for the column comparison, defaults to Criteria::EQUAL |
BaseLinkQuery::filterByCreatedBy | ( | $createdBy = null , |
|
$comparison = null |
|||
) |
Filter the query on the created_by column
Example usage: $query->filterByCreatedBy(1234); // WHERE created_by = 1234 $query->filterByCreatedBy(array(12, 34)); // WHERE created_by IN (12, 34) $query->filterByCreatedBy(array('min' => 12)); // WHERE created_by >= 12 $query->filterByCreatedBy(array('max' => 12)); // WHERE created_by <= 12
mixed | $createdBy | 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. |
string | $comparison | Operator to use for the column comparison, defaults to Criteria::EQUAL |
BaseLinkQuery::filterByDescription | ( | $description = null , |
|
$comparison = null |
|||
) |
Filter the query on the description column
Example usage: $query->filterByDescription('fooValue'); // WHERE description = 'fooValue' $query->filterByDescription('fooValue'); // WHERE description LIKE 'fooValue'
string | $description | The value to use as filter. Accepts wildcards (* and % trigger a LIKE) |
string | $comparison | Operator to use for the column comparison, defaults to Criteria::EQUAL |
BaseLinkQuery::filterById | ( | $id = null , |
|
$comparison = null |
|||
) |
Filter the query on the id column
Example usage: $query->filterById(1234); // WHERE id = 1234 $query->filterById(array(12, 34)); // WHERE id IN (12, 34) $query->filterById(array('min' => 12)); // WHERE id >= 12 $query->filterById(array('max' => 12)); // WHERE id <= 12
mixed | $id | 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. |
string | $comparison | Operator to use for the column comparison, defaults to Criteria::EQUAL |
BaseLinkQuery::filterByIsPrivate | ( | $isPrivate = null , |
|
$comparison = null |
|||
) |
Filter the query on the is_private column
Example usage: $query->filterByIsPrivate(true); // WHERE is_private = true $query->filterByIsPrivate('yes'); // WHERE is_private = true
boolean | string | $isPrivate | The value to use as filter. Non-boolean arguments are converted using the following rules:
|
string | $comparison | Operator to use for the column comparison, defaults to Criteria::EQUAL |
BaseLinkQuery::filterByLanguage | ( | $language, | |
$comparison = null |
|||
) |
Filter the query by a related Language object
Language | PropelObjectCollection | $language | The related object(s) to use as filter |
string | $comparison | Operator to use for the column comparison, defaults to Criteria::EQUAL |
PropelException | - if the provided filter is invalid. |
BaseLinkQuery::filterByLanguageId | ( | $languageId = null , |
|
$comparison = null |
|||
) |
Filter the query on the language_id column
Example usage: $query->filterByLanguageId('fooValue'); // WHERE language_id = 'fooValue' $query->filterByLanguageId('fooValue'); // WHERE language_id LIKE 'fooValue'
string | $languageId | The value to use as filter. Accepts wildcards (* and % trigger a LIKE) |
string | $comparison | Operator to use for the column comparison, defaults to Criteria::EQUAL |
BaseLinkQuery::filterByLinkCategory | ( | $linkCategory, | |
$comparison = null |
|||
) |
Filter the query by a related LinkCategory object
LinkCategory | PropelObjectCollection | $linkCategory | The related object(s) to use as filter |
string | $comparison | Operator to use for the column comparison, defaults to Criteria::EQUAL |
PropelException | - if the provided filter is invalid. |
BaseLinkQuery::filterByLinkCategoryId | ( | $linkCategoryId = null , |
|
$comparison = null |
|||
) |
Filter the query on the link_category_id column
Example usage: $query->filterByLinkCategoryId(1234); // WHERE link_category_id = 1234 $query->filterByLinkCategoryId(array(12, 34)); // WHERE link_category_id IN (12, 34) $query->filterByLinkCategoryId(array('min' => 12)); // WHERE link_category_id >= 12 $query->filterByLinkCategoryId(array('max' => 12)); // WHERE link_category_id <= 12
mixed | $linkCategoryId | 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. |
string | $comparison | Operator to use for the column comparison, defaults to Criteria::EQUAL |
BaseLinkQuery::filterByName | ( | $name = null , |
|
$comparison = null |
|||
) |
Filter the query on the name column
Example usage: $query->filterByName('fooValue'); // WHERE name = 'fooValue' $query->filterByName('fooValue'); // WHERE name LIKE 'fooValue'
string | $name | The value to use as filter. Accepts wildcards (* and % trigger a LIKE) |
string | $comparison | Operator to use for the column comparison, defaults to Criteria::EQUAL |
BaseLinkQuery::filterByOwnerId | ( | $ownerId = null , |
|
$comparison = null |
|||
) |
Filter the query on the owner_id column
Example usage: $query->filterByOwnerId(1234); // WHERE owner_id = 1234 $query->filterByOwnerId(array(12, 34)); // WHERE owner_id IN (12, 34) $query->filterByOwnerId(array('min' => 12)); // WHERE owner_id >= 12 $query->filterByOwnerId(array('max' => 12)); // WHERE owner_id <= 12
mixed | $ownerId | 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. |
string | $comparison | Operator to use for the column comparison, defaults to Criteria::EQUAL |
BaseLinkQuery::filterByPrimaryKey | ( | $key | ) |
Filter the query by primary key
mixed | $key | Primary key to use for the query |
BaseLinkQuery::filterByPrimaryKeys | ( | $keys | ) |
Filter the query by a list of primary keys
array | $keys | The list of primary key to use for the query |
BaseLinkQuery::filterBySort | ( | $sort = null , |
|
$comparison = null |
|||
) |
Filter the query on the sort column
Example usage: $query->filterBySort(1234); // WHERE sort = 1234 $query->filterBySort(array(12, 34)); // WHERE sort IN (12, 34) $query->filterBySort(array('min' => 12)); // WHERE sort >= 12 $query->filterBySort(array('max' => 12)); // WHERE sort <= 12
mixed | $sort | 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. |
string | $comparison | Operator to use for the column comparison, defaults to Criteria::EQUAL |
BaseLinkQuery::filterByUpdatedAt | ( | $updatedAt = null , |
|
$comparison = null |
|||
) |
Filter the query on the updated_at column
Example usage: $query->filterByUpdatedAt('2011-03-14'); // WHERE updated_at = '2011-03-14' $query->filterByUpdatedAt('now'); // WHERE updated_at = '2011-03-14' $query->filterByUpdatedAt(array('max' => 'yesterday')); // WHERE updated_at < '2011-03-13'
mixed | $updatedAt | The value to use as filter. Values can be integers (unix timestamps), DateTime objects, or strings. Empty strings are treated as NULL. Use scalar values for equality. Use array values for in_array() equivalent. Use associative array('min' => $minValue, 'max' => $maxValue) for intervals. |
string | $comparison | Operator to use for the column comparison, defaults to Criteria::EQUAL |
BaseLinkQuery::filterByUpdatedBy | ( | $updatedBy = null , |
|
$comparison = null |
|||
) |
Filter the query on the updated_by column
Example usage: $query->filterByUpdatedBy(1234); // WHERE updated_by = 1234 $query->filterByUpdatedBy(array(12, 34)); // WHERE updated_by IN (12, 34) $query->filterByUpdatedBy(array('min' => 12)); // WHERE updated_by >= 12 $query->filterByUpdatedBy(array('max' => 12)); // WHERE updated_by <= 12
mixed | $updatedBy | 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. |
string | $comparison | Operator to use for the column comparison, defaults to Criteria::EQUAL |
BaseLinkQuery::filterByUrl | ( | $url = null , |
|
$comparison = null |
|||
) |
Filter the query on the url column
Example usage: $query->filterByUrl('fooValue'); // WHERE url = 'fooValue' $query->filterByUrl('fooValue'); // WHERE url LIKE 'fooValue'
string | $url | The value to use as filter. Accepts wildcards (* and % trigger a LIKE) |
string | $comparison | Operator to use for the column comparison, defaults to Criteria::EQUAL |
BaseLinkQuery::filterByUserRelatedByCreatedBy | ( | $user, | |
$comparison = null |
|||
) |
Filter the query by a related User object
User | PropelObjectCollection | $user | The related object(s) to use as filter |
string | $comparison | Operator to use for the column comparison, defaults to Criteria::EQUAL |
PropelException | - if the provided filter is invalid. |
BaseLinkQuery::filterByUserRelatedByOwnerId | ( | $user, | |
$comparison = null |
|||
) |
Filter the query by a related User object
User | PropelObjectCollection | $user | The related object(s) to use as filter |
string | $comparison | Operator to use for the column comparison, defaults to Criteria::EQUAL |
PropelException | - if the provided filter is invalid. |
BaseLinkQuery::filterByUserRelatedByUpdatedBy | ( | $user, | |
$comparison = null |
|||
) |
Filter the query by a related User object
User | PropelObjectCollection | $user | The related object(s) to use as filter |
string | $comparison | Operator to use for the column comparison, defaults to Criteria::EQUAL |
PropelException | - if the provided filter is invalid. |
BaseLinkQuery::findOneById | ( | $key, | |
$con = null |
|||
) |
Alias of findPk to use instance pooling
mixed | $key | Primary key to use for the query |
PropelPDO | $con | A connection object |
PropelException |
BaseLinkQuery::findPk | ( | $key, | |
$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.
$obj = $c->findPk(12, $con);
mixed | $key | Primary key to use for the query |
PropelPDO | $con | an optional connection object |
|
protected |
Find object by primary key.
mixed | $key | Primary key to use for the query |
PropelPDO | $con | A connection object |
BaseLinkQuery::findPks | ( | $keys, | |
$con = null |
|||
) |
Find objects by primary key $objs = $c->findPks(array(12, 56, 832), $con);
array | $keys | Primary keys to use for the query |
PropelPDO | $con | an optional connection object |
|
protected |
Find object by primary key using raw SQL to go fast. Bypass doSelect() and the object formatter by using generated code.
mixed | $key | Primary key to use for the query |
PropelPDO | $con | A connection object |
PropelException |
BaseLinkQuery::firstCreatedFirst | ( | ) |
Order by create date asc
BaseLinkQuery::firstUpdatedFirst | ( | ) |
Order by update date asc
BaseLinkQuery::joinLanguage | ( | $relationAlias = null , |
|
$joinType = Criteria::LEFT_JOIN |
|||
) |
BaseLinkQuery::joinLinkCategory | ( | $relationAlias = null , |
|
$joinType = Criteria::LEFT_JOIN |
|||
) |
Adds a JOIN clause to the query using the LinkCategory relation
string | $relationAlias | optional alias for the relation |
string | $joinType | Accepted values are null, 'left join', 'right join', 'inner join' |
BaseLinkQuery::joinUserRelatedByCreatedBy | ( | $relationAlias = null , |
|
$joinType = Criteria::LEFT_JOIN |
|||
) |
Adds a JOIN clause to the query using the UserRelatedByCreatedBy relation
string | $relationAlias | optional alias for the relation |
string | $joinType | Accepted values are null, 'left join', 'right join', 'inner join' |
BaseLinkQuery::joinUserRelatedByOwnerId | ( | $relationAlias = null , |
|
$joinType = Criteria::INNER_JOIN |
|||
) |
Adds a JOIN clause to the query using the UserRelatedByOwnerId relation
string | $relationAlias | optional alias for the relation |
string | $joinType | Accepted values are null, 'left join', 'right join', 'inner join' |
BaseLinkQuery::joinUserRelatedByUpdatedBy | ( | $relationAlias = null , |
|
$joinType = Criteria::LEFT_JOIN |
|||
) |
Adds a JOIN clause to the query using the UserRelatedByUpdatedBy relation
string | $relationAlias | optional alias for the relation |
string | $joinType | Accepted values are null, 'left join', 'right join', 'inner join' |
BaseLinkQuery::lastCreatedFirst | ( | ) |
Order by create date desc
BaseLinkQuery::lastUpdatedFirst | ( | ) |
Order by update date desc
BaseLinkQuery::prune | ( | $link = null | ) |
BaseLinkQuery::recentlyCreated | ( | $nbDays = 7 | ) |
Filter by the latest created
int | $nbDays | Maximum age of in days |
BaseLinkQuery::recentlyUpdated | ( | $nbDays = 7 | ) |
Filter by the latest updated
int | $nbDays | Maximum age of the latest update in days |
BaseLinkQuery::useLanguageQuery | ( | $relationAlias = null , |
|
$joinType = Criteria::LEFT_JOIN |
|||
) |
Use the Language relation Language object
string | $relationAlias | optional alias for the relation, to be used as main alias in the secondary query |
string | $joinType | Accepted values are null, 'left join', 'right join', 'inner join' |
BaseLinkQuery::useLinkCategoryQuery | ( | $relationAlias = null , |
|
$joinType = Criteria::LEFT_JOIN |
|||
) |
Use the LinkCategory relation LinkCategory object
string | $relationAlias | optional alias for the relation, to be used as main alias in the secondary query |
string | $joinType | Accepted values are null, 'left join', 'right join', 'inner join' |
BaseLinkQuery::useUserRelatedByCreatedByQuery | ( | $relationAlias = null , |
|
$joinType = Criteria::LEFT_JOIN |
|||
) |
Use the UserRelatedByCreatedBy relation User object
string | $relationAlias | optional alias for the relation, to be used as main alias in the secondary query |
string | $joinType | Accepted values are null, 'left join', 'right join', 'inner join' |
BaseLinkQuery::useUserRelatedByOwnerIdQuery | ( | $relationAlias = null , |
|
$joinType = Criteria::INNER_JOIN |
|||
) |
Use the UserRelatedByOwnerId relation User object
string | $relationAlias | optional alias for the relation, to be used as main alias in the secondary query |
string | $joinType | Accepted values are null, 'left join', 'right join', 'inner join' |
BaseLinkQuery::useUserRelatedByUpdatedByQuery | ( | $relationAlias = null , |
|
$joinType = Criteria::LEFT_JOIN |
|||
) |
Use the UserRelatedByUpdatedBy relation User object
string | $relationAlias | optional alias for the relation, to be used as main alias in the secondary query |
string | $joinType | Accepted values are null, 'left join', 'right join', 'inner join' |