![]() |
rapila
|
Public Member Functions | |
__construct ($dbName=null, $modelName=null, $modelAlias=null) | |
findPk ($key, $con=null) | |
findPks ($keys, $con=null) | |
filterByPrimaryKey ($key) | |
filterByPrimaryKeys ($keys) | |
filterByPageId ($pageId=null, $comparison=null) | |
filterByLanguageId ($languageId=null, $comparison=null) | |
filterByIsInactive ($isInactive=null, $comparison=null) | |
filterByLinkText ($linkText=null, $comparison=null) | |
filterByPageTitle ($pageTitle=null, $comparison=null) | |
filterByMetaKeywords ($metaKeywords=null, $comparison=null) | |
filterByMetaDescription ($metaDescription=null, $comparison=null) | |
filterByCreatedAt ($createdAt=null, $comparison=null) | |
filterByUpdatedAt ($updatedAt=null, $comparison=null) | |
filterByCreatedBy ($createdBy=null, $comparison=null) | |
filterByUpdatedBy ($updatedBy=null, $comparison=null) | |
filterByPage ($page, $comparison=null) | |
joinPage ($relationAlias=null, $joinType=Criteria::INNER_JOIN) | |
usePageQuery ($relationAlias=null, $joinType=Criteria::INNER_JOIN) | |
filterByLanguage ($language, $comparison=null) | |
joinLanguage ($relationAlias=null, $joinType=Criteria::INNER_JOIN) | |
useLanguageQuery ($relationAlias=null, $joinType=Criteria::INNER_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 ($pageString=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) | |
BasePageStringQuery::__construct | ( | $dbName = null , |
|
$modelName = null , |
|||
$modelAlias = null |
|||
) |
Initializes internal state of BasePageStringQuery 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 |
Returns a new PageStringQuery object.
string | $modelAlias | The alias of a model in the query |
PageStringQuery | Criteria | $criteria | Optional Criteria to build the query from |
BasePageStringQuery::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 |
BasePageStringQuery::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 |
BasePageStringQuery::filterByIsInactive | ( | $isInactive = null , |
|
$comparison = null |
|||
) |
Filter the query on the is_inactive column
Example usage: $query->filterByIsInactive(true); // WHERE is_inactive = true $query->filterByIsInactive('yes'); // WHERE is_inactive = true
boolean | string | $isInactive | 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 |
BasePageStringQuery::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. |
BasePageStringQuery::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 |
BasePageStringQuery::filterByLinkText | ( | $linkText = null , |
|
$comparison = null |
|||
) |
Filter the query on the link_text column
Example usage: $query->filterByLinkText('fooValue'); // WHERE link_text = 'fooValue' $query->filterByLinkText('fooValue'); // WHERE link_text LIKE 'fooValue'
string | $linkText | 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 |
BasePageStringQuery::filterByMetaDescription | ( | $metaDescription = null , |
|
$comparison = null |
|||
) |
Filter the query on the meta_description column
Example usage: $query->filterByMetaDescription('fooValue'); // WHERE meta_description = 'fooValue' $query->filterByMetaDescription('fooValue'); // WHERE meta_description LIKE 'fooValue'
string | $metaDescription | 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 |
BasePageStringQuery::filterByMetaKeywords | ( | $metaKeywords = null , |
|
$comparison = null |
|||
) |
Filter the query on the meta_keywords column
Example usage: $query->filterByMetaKeywords('fooValue'); // WHERE meta_keywords = 'fooValue' $query->filterByMetaKeywords('fooValue'); // WHERE meta_keywords LIKE 'fooValue'
string | $metaKeywords | 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 |
BasePageStringQuery::filterByPage | ( | $page, | |
$comparison = null |
|||
) |
Filter the query by a related Page object
Page | PropelObjectCollection | $page | 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. |
BasePageStringQuery::filterByPageId | ( | $pageId = null , |
|
$comparison = null |
|||
) |
Filter the query on the page_id column
Example usage: $query->filterByPageId(1234); // WHERE page_id = 1234 $query->filterByPageId(array(12, 34)); // WHERE page_id IN (12, 34) $query->filterByPageId(array('min' => 12)); // WHERE page_id >= 12 $query->filterByPageId(array('max' => 12)); // WHERE page_id <= 12
mixed | $pageId | 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 |
BasePageStringQuery::filterByPageTitle | ( | $pageTitle = null , |
|
$comparison = null |
|||
) |
Filter the query on the page_title column
Example usage: $query->filterByPageTitle('fooValue'); // WHERE page_title = 'fooValue' $query->filterByPageTitle('fooValue'); // WHERE page_title LIKE 'fooValue'
string | $pageTitle | 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 |
BasePageStringQuery::filterByPrimaryKey | ( | $key | ) |
Filter the query by primary key
mixed | $key | Primary key to use for the query |
BasePageStringQuery::filterByPrimaryKeys | ( | $keys | ) |
Filter the query by a list of primary keys
array | $keys | The list of primary key to use for the query |
BasePageStringQuery::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 |
BasePageStringQuery::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 |
BasePageStringQuery::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. |
BasePageStringQuery::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. |
BasePageStringQuery::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(array(12, 34), $con);
array | $key | Primary key to use for the query A Primary key composition: [$page_id, $language_id] |
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 |
BasePageStringQuery::findPks | ( | $keys, | |
$con = null |
|||
) |
Find objects by primary key $objs = $c->findPks(array(array(12, 56), array(832, 123), array(123, 456)), $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 |
BasePageStringQuery::firstCreatedFirst | ( | ) |
Order by create date asc
BasePageStringQuery::firstUpdatedFirst | ( | ) |
Order by update date asc
BasePageStringQuery::joinLanguage | ( | $relationAlias = null , |
|
$joinType = Criteria::INNER_JOIN |
|||
) |
Adds a JOIN clause to the query using the Language relation
string | $relationAlias | optional alias for the relation |
string | $joinType | Accepted values are null, 'left join', 'right join', 'inner join' |
BasePageStringQuery::joinPage | ( | $relationAlias = null , |
|
$joinType = Criteria::INNER_JOIN |
|||
) |
Adds a JOIN clause to the query using the Page relation
string | $relationAlias | optional alias for the relation |
string | $joinType | Accepted values are null, 'left join', 'right join', 'inner join' |
BasePageStringQuery::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' |
BasePageStringQuery::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' |
BasePageStringQuery::lastCreatedFirst | ( | ) |
Order by create date desc
BasePageStringQuery::lastUpdatedFirst | ( | ) |
Order by update date desc
BasePageStringQuery::prune | ( | $pageString = null | ) |
Exclude object from result
PageString | $pageString | Object to remove from the list of results |
BasePageStringQuery::recentlyCreated | ( | $nbDays = 7 | ) |
Filter by the latest created
int | $nbDays | Maximum age of in days |
BasePageStringQuery::recentlyUpdated | ( | $nbDays = 7 | ) |
Filter by the latest updated
int | $nbDays | Maximum age of the latest update in days |
BasePageStringQuery::useLanguageQuery | ( | $relationAlias = null , |
|
$joinType = Criteria::INNER_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' |
BasePageStringQuery::usePageQuery | ( | $relationAlias = null , |
|
$joinType = Criteria::INNER_JOIN |
|||
) |
Use the Page relation Page 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' |
BasePageStringQuery::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' |
BasePageStringQuery::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' |