class HookQuery extends HookQuery

Skeleton subclass for performing query and update operations on the 'hook' table.

You should add additional methods to this class to meet the application requirements. This class will only be generated as long as it does not already exist in the output directory.

Methods

__construct( string $dbName = 'thelia', string $modelName = '\\Thelia\\Model\\Hook', string $modelAlias = null)

Initializes internal state of \Thelia\Model\Base\HookQuery object.

from  HookQuery
static  HookQuery
create( string $modelAlias = null, Criteria $criteria = null)

Returns a new ChildHookQuery object.

from  HookQuery
Hook|array|mixed
findPk( mixed $key, ConnectionInterface $con = null)

Find object by primary key.

from  HookQuery
ObjectCollection|array|mixed
findPks( array $keys, ConnectionInterface $con = null)

Find objects by primary key $objs = $c->findPks(array(12, 56, 832), $con);

from  HookQuery
filterByPrimaryKey( mixed $key)

Filter the query by primary key

from  HookQuery
filterByPrimaryKeys( array $keys)

Filter the query by a list of primary keys

from  HookQuery
filterById( mixed $id = null, string $comparison = null)

Filter the query on the id column

from  HookQuery
filterByCode( string $code = null, string $comparison = null)

Filter the query on the code column

from  HookQuery
filterByType( mixed $type = null, string $comparison = null)

Filter the query on the type column

from  HookQuery
filterByByModule( boolean|string $byModule = null, string $comparison = null)

Filter the query on the by_module column

from  HookQuery
filterByNative( boolean|string $native = null, string $comparison = null)

Filter the query on the native column

from  HookQuery
filterByActivate( boolean|string $activate = null, string $comparison = null)

Filter the query on the activate column

from  HookQuery
filterByBlock( boolean|string $block = null, string $comparison = null)

Filter the query on the block column

from  HookQuery
filterByPosition( mixed $position = null, string $comparison = null)

Filter the query on the position column

from  HookQuery
filterByCreatedAt( mixed $createdAt = null, string $comparison = null)

Filter the query on the created_at column

from  HookQuery
filterByUpdatedAt( mixed $updatedAt = null, string $comparison = null)

Filter the query on the updated_at column

from  HookQuery
filterByModuleHook( ModuleHook|ObjectCollection $moduleHook, string $comparison = null)

Filter the query by a related \Thelia\Model\ModuleHook object

from  HookQuery
joinModuleHook( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the ModuleHook relation

from  HookQuery
useModuleHookQuery( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Use the ModuleHook relation ModuleHook object

from  HookQuery
filterByIgnoredModuleHook( IgnoredModuleHook|ObjectCollection $ignoredModuleHook, string $comparison = null)

Filter the query by a related \Thelia\Model\IgnoredModuleHook object

from  HookQuery
joinIgnoredModuleHook( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the IgnoredModuleHook relation

from  HookQuery
useIgnoredModuleHookQuery( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Use the IgnoredModuleHook relation IgnoredModuleHook object

from  HookQuery
filterByHookI18n( HookI18n|ObjectCollection $hookI18n, string $comparison = null)

Filter the query by a related \Thelia\Model\HookI18n object

from  HookQuery
joinHookI18n( string $relationAlias = null, string $joinType = 'LEFT JOIN')

Adds a JOIN clause to the query using the HookI18n relation

from  HookQuery
useHookI18nQuery( string $relationAlias = null, string $joinType = 'LEFT JOIN')

Use the HookI18n relation HookI18n object

from  HookQuery
filterByModule( Module $module, string $comparison = Criteria::EQUAL)

Filter the query by a related Module object using the ignoredmodulehook table as cross reference

from  HookQuery
prune( Hook $hook = null)

Exclude object from result

from  HookQuery
int
doDeleteAll( ConnectionInterface $con = null)

Deletes all rows from the hook table.

from  HookQuery
int
delete( ConnectionInterface $con = null)

Performs a DELETE on the database, given a ChildHook or Criteria object OR a primary key value.

from  HookQuery
recentlyUpdated( int $nbDays = 7)

Filter by the latest updated

from  HookQuery
recentlyCreated( int $nbDays = 7)

Filter by the latest created

from  HookQuery
lastUpdatedFirst()

Order by update date desc

from  HookQuery
firstUpdatedFirst()

Order by update date asc

from  HookQuery
lastCreatedFirst()

Order by create date desc

from  HookQuery
firstCreatedFirst()

Order by create date asc

from  HookQuery
joinI18n( string $locale = 'en_US', string $relationAlias = null, string $joinType = Criteria::LEFT_JOIN)

Adds a JOIN clause to the query using the i18n relation

from  HookQuery
joinWithI18n( string $locale = 'en_US', string $joinType = Criteria::LEFT_JOIN)

Adds a JOIN clause to the query and hydrates the related I18n object.

from  HookQuery
useI18nQuery( string $locale = 'en_US', string $relationAlias = null, string $joinType = Criteria::LEFT_JOIN)

Use the I18n relation query object

from  HookQuery
ChildHookQuery
orderById($order = Criteria::ASC)

Order by the id column

from  HookQuery
ChildHookQuery
orderByCode($order = Criteria::ASC)

Order by the code column

from  HookQuery
ChildHookQuery
orderByType($order = Criteria::ASC)

Order by the type column

from  HookQuery
ChildHookQuery
orderByByModule($order = Criteria::ASC)

Order by the by_module column

from  HookQuery
ChildHookQuery
orderByNative($order = Criteria::ASC)

Order by the native column

from  HookQuery
ChildHookQuery
orderByActivate($order = Criteria::ASC)

Order by the activate column

from  HookQuery
ChildHookQuery
orderByBlock($order = Criteria::ASC)

Order by the block column

from  HookQuery
ChildHookQuery
orderByPosition($order = Criteria::ASC)

Order by the position column

from  HookQuery
ChildHookQuery
orderByCreatedAt($order = Criteria::ASC)

Order by the created_at column

from  HookQuery
ChildHookQuery
orderByUpdatedAt($order = Criteria::ASC)

Order by the updated_at column

from  HookQuery
ChildHookQuery
groupById()

Group by the id column

from  HookQuery
ChildHookQuery
groupByCode()

Group by the code column

from  HookQuery
ChildHookQuery
groupByType()

Group by the type column

from  HookQuery
ChildHookQuery
groupByByModule()

Group by the by_module column

from  HookQuery
ChildHookQuery
groupByNative()

Group by the native column

from  HookQuery
ChildHookQuery
groupByActivate()

Group by the activate column

from  HookQuery
ChildHookQuery
groupByBlock()

Group by the block column

from  HookQuery
ChildHookQuery
groupByPosition()

Group by the position column

from  HookQuery
ChildHookQuery
groupByCreatedAt()

Group by the created_at column

from  HookQuery
ChildHookQuery
groupByUpdatedAt()

Group by the updated_at column

from  HookQuery
ChildHookQuery
leftJoin($relation)

Adds a LEFT JOIN clause to the query

from  HookQuery
ChildHookQuery
rightJoin($relation)

Adds a RIGHT JOIN clause to the query

from  HookQuery
ChildHookQuery
innerJoin($relation)

Adds a INNER JOIN clause to the query

from  HookQuery
ChildHookQuery
leftJoinModuleHook($relationAlias = null)

Adds a LEFT JOIN clause to the query using the ModuleHook relation

from  HookQuery
ChildHookQuery
rightJoinModuleHook($relationAlias = null)

Adds a RIGHT JOIN clause to the query using the ModuleHook relation

from  HookQuery
ChildHookQuery
innerJoinModuleHook($relationAlias = null)

Adds a INNER JOIN clause to the query using the ModuleHook relation

from  HookQuery
ChildHookQuery
leftJoinIgnoredModuleHook($relationAlias = null)

Adds a LEFT JOIN clause to the query using the IgnoredModuleHook relation

from  HookQuery
ChildHookQuery
rightJoinIgnoredModuleHook($relationAlias = null)

Adds a RIGHT JOIN clause to the query using the IgnoredModuleHook relation

from  HookQuery
ChildHookQuery
innerJoinIgnoredModuleHook($relationAlias = null)

Adds a INNER JOIN clause to the query using the IgnoredModuleHook relation

from  HookQuery
ChildHookQuery
leftJoinHookI18n($relationAlias = null)

Adds a LEFT JOIN clause to the query using the HookI18n relation

from  HookQuery
ChildHookQuery
rightJoinHookI18n($relationAlias = null)

Adds a RIGHT JOIN clause to the query using the HookI18n relation

from  HookQuery
ChildHookQuery
innerJoinHookI18n($relationAlias = null)

Adds a INNER JOIN clause to the query using the HookI18n relation

from  HookQuery
ChildHook
findOne( ConnectionInterface $con = null)

Return the first ChildHook matching the query

from  HookQuery
ChildHook
findOneOrCreate( ConnectionInterface $con = null)

Return the first ChildHook matching the query, or a new ChildHook object populated from the query conditions when no match is found

from  HookQuery
ChildHook
findOneById( int $id)

Return the first ChildHook filtered by the id column

from  HookQuery
ChildHook
findOneByCode( string $code)

Return the first ChildHook filtered by the code column

from  HookQuery
ChildHook
findOneByType( int $type)

Return the first ChildHook filtered by the type column

from  HookQuery
ChildHook
findOneByByModule( boolean $by_module)

Return the first ChildHook filtered by the by_module column

from  HookQuery
ChildHook
findOneByNative( boolean $native)

Return the first ChildHook filtered by the native column

from  HookQuery
ChildHook
findOneByActivate( boolean $activate)

Return the first ChildHook filtered by the activate column

from  HookQuery
ChildHook
findOneByBlock( boolean $block)

Return the first ChildHook filtered by the block column

from  HookQuery
ChildHook
findOneByPosition( int $position)

Return the first ChildHook filtered by the position column

from  HookQuery
ChildHook
findOneByCreatedAt( string $created_at)

Return the first ChildHook filtered by the created_at column

from  HookQuery
ChildHook
findOneByUpdatedAt( string $updated_at)

Return the first ChildHook filtered by the updated_at column

from  HookQuery
array
findById( int $id)

Return ChildHook objects filtered by the id column

from  HookQuery
array
findByCode( string $code)

Return ChildHook objects filtered by the code column

from  HookQuery
array
findByType( int $type)

Return ChildHook objects filtered by the type column

from  HookQuery
array
findByByModule( boolean $by_module)

Return ChildHook objects filtered by the by_module column

from  HookQuery
array
findByNative( boolean $native)

Return ChildHook objects filtered by the native column

from  HookQuery
array
findByActivate( boolean $activate)

Return ChildHook objects filtered by the activate column

from  HookQuery
array
findByBlock( boolean $block)

Return ChildHook objects filtered by the block column

from  HookQuery
array
findByPosition( int $position)

Return ChildHook objects filtered by the position column

from  HookQuery
array
findByCreatedAt( string $created_at)

Return ChildHook objects filtered by the created_at column

from  HookQuery
array
findByUpdatedAt( string $updated_at)

Return ChildHook objects filtered by the updated_at column

from  HookQuery

Details

in HookQuery at line 99
__construct( string $dbName = 'thelia', string $modelName = '\\Thelia\\Model\\Hook', string $modelAlias = null)

Initializes internal state of \Thelia\Model\Base\HookQuery object.

Parameters

string $dbName The database name
string $modelName The phpName of a model, e.g. 'Book'
string $modelAlias The alias for the model in this query, e.g. 'b'

in HookQuery at line 112
static HookQuery create( string $modelAlias = null, Criteria $criteria = null)

Returns a new ChildHookQuery object.

Parameters

string $modelAlias The alias of a model in the query
Criteria $criteria Optional Criteria to build the query from

Return Value

HookQuery

in HookQuery at line 142
Hook|array|mixed findPk( mixed $key, ConnectionInterface $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);

Parameters

mixed $key Primary key to use for the query
ConnectionInterface $con an optional connection object

Return Value

Hook|array|mixed the result, formatted by the current formatter

in HookQuery at line 224
ObjectCollection|array|mixed findPks( array $keys, ConnectionInterface $con = null)

Find objects by primary key $objs = $c->findPks(array(12, 56, 832), $con);

Parameters

array $keys Primary keys to use for the query
ConnectionInterface $con an optional connection object

Return Value

ObjectCollection|array|mixed the list of results, formatted by the current formatter

in HookQuery at line 245
HookQuery filterByPrimaryKey( mixed $key)

Filter the query by primary key

Parameters

mixed $key Primary key to use for the query

Return Value

HookQuery The current query, for fluid interface

in HookQuery at line 258
HookQuery filterByPrimaryKeys( array $keys)

Filter the query by a list of primary keys

Parameters

array $keys The list of primary key to use for the query

Return Value

HookQuery The current query, for fluid interface

in HookQuery at line 282
HookQuery filterById( mixed $id = null, string $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

Parameters

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

Return Value

HookQuery The current query, for fluid interface

in HookQuery at line 320
HookQuery filterByCode( string $code = null, string $comparison = null)

Filter the query on the code column

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

Parameters

string $code 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

Return Value

HookQuery The current query, for fluid interface

in HookQuery at line 352
HookQuery filterByType( mixed $type = null, string $comparison = null)

Filter the query on the type column

Example usage: $query->filterByType(1234); // WHERE type = 1234 $query->filterByType(array(12, 34)); // WHERE type IN (12, 34) $query->filterByType(array('min' => 12)); // WHERE type > 12

Parameters

mixed $type 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

Return Value

HookQuery The current query, for fluid interface

in HookQuery at line 393
HookQuery filterByByModule( boolean|string $byModule = null, string $comparison = null)

Filter the query on the by_module column

Example usage: $query->filterByByModule(true); // WHERE bymodule = true $query->filterByByModule('yes'); // WHERE bymodule = true

Parameters

boolean|string $byModule 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').
string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Return Value

HookQuery The current query, for fluid interface

in HookQuery at line 420
HookQuery filterByNative( boolean|string $native = null, string $comparison = null)

Filter the query on the native column

Example usage: $query->filterByNative(true); // WHERE native = true $query->filterByNative('yes'); // WHERE native = true

Parameters

boolean|string $native 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').
string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Return Value

HookQuery The current query, for fluid interface

in HookQuery at line 447
HookQuery filterByActivate( boolean|string $activate = null, string $comparison = null)

Filter the query on the activate column

Example usage: $query->filterByActivate(true); // WHERE activate = true $query->filterByActivate('yes'); // WHERE activate = true

Parameters

boolean|string $activate 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').
string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Return Value

HookQuery The current query, for fluid interface

in HookQuery at line 474
HookQuery filterByBlock( boolean|string $block = null, string $comparison = null)

Filter the query on the block column

Example usage: $query->filterByBlock(true); // WHERE block = true $query->filterByBlock('yes'); // WHERE block = true

Parameters

boolean|string $block 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').
string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Return Value

HookQuery The current query, for fluid interface

in HookQuery at line 501
HookQuery filterByPosition( mixed $position = null, string $comparison = null)

Filter the query on the position column

Example usage: $query->filterByPosition(1234); // WHERE position = 1234 $query->filterByPosition(array(12, 34)); // WHERE position IN (12, 34) $query->filterByPosition(array('min' => 12)); // WHERE position > 12

Parameters

mixed $position 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

Return Value

HookQuery The current query, for fluid interface

in HookQuery at line 544
HookQuery filterByCreatedAt( mixed $createdAt = null, string $comparison = null)

Filter the query on the created_at column

Example usage: $query->filterByCreatedAt('2011-03-14'); // WHERE createdat = '2011-03-14' $query->filterByCreatedAt('now'); // WHERE createdat = '2011-03-14' $query->filterByCreatedAt(array('max' => 'yesterday')); // WHERE created_at > '2011-03-13'

Parameters

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

Return Value

HookQuery The current query, for fluid interface

in HookQuery at line 587
HookQuery filterByUpdatedAt( mixed $updatedAt = null, string $comparison = null)

Filter the query on the updated_at column

Example usage: $query->filterByUpdatedAt('2011-03-14'); // WHERE updatedat = '2011-03-14' $query->filterByUpdatedAt('now'); // WHERE updatedat = '2011-03-14' $query->filterByUpdatedAt(array('max' => 'yesterday')); // WHERE updated_at > '2011-03-13'

Parameters

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

Return Value

HookQuery The current query, for fluid interface

in HookQuery at line 618
HookQuery filterByModuleHook( ModuleHook|ObjectCollection $moduleHook, string $comparison = null)

Filter the query by a related \Thelia\Model\ModuleHook object

Parameters

ModuleHook|ObjectCollection $moduleHook the related object to use as filter
string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Return Value

HookQuery The current query, for fluid interface

in HookQuery at line 641
HookQuery joinModuleHook( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the ModuleHook relation

Parameters

string $relationAlias optional alias for the relation
string $joinType Accepted values are null, 'left join', 'right join', 'inner join'

Return Value

HookQuery The current query, for fluid interface

in HookQuery at line 676
ModuleHookQuery useModuleHookQuery( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Use the ModuleHook relation ModuleHook object

Parameters

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'

Return Value

ModuleHookQuery A secondary query class using the current class as primary query

See also

useQuery()

in HookQuery at line 691
HookQuery filterByIgnoredModuleHook( IgnoredModuleHook|ObjectCollection $ignoredModuleHook, string $comparison = null)

Filter the query by a related \Thelia\Model\IgnoredModuleHook object

Parameters

IgnoredModuleHook|ObjectCollection $ignoredModuleHook the related object to use as filter
string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Return Value

HookQuery The current query, for fluid interface

in HookQuery at line 714
HookQuery joinIgnoredModuleHook( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Adds a JOIN clause to the query using the IgnoredModuleHook relation

Parameters

string $relationAlias optional alias for the relation
string $joinType Accepted values are null, 'left join', 'right join', 'inner join'

Return Value

HookQuery The current query, for fluid interface

in HookQuery at line 749
IgnoredModuleHookQuery useIgnoredModuleHookQuery( string $relationAlias = null, string $joinType = Criteria::INNER_JOIN)

Use the IgnoredModuleHook relation IgnoredModuleHook object

Parameters

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'

Return Value

IgnoredModuleHookQuery A secondary query class using the current class as primary query

See also

useQuery()

in HookQuery at line 764
HookQuery filterByHookI18n( HookI18n|ObjectCollection $hookI18n, string $comparison = null)

Filter the query by a related \Thelia\Model\HookI18n object

Parameters

HookI18n|ObjectCollection $hookI18n the related object to use as filter
string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Return Value

HookQuery The current query, for fluid interface

in HookQuery at line 787
HookQuery joinHookI18n( string $relationAlias = null, string $joinType = 'LEFT JOIN')

Adds a JOIN clause to the query using the HookI18n relation

Parameters

string $relationAlias optional alias for the relation
string $joinType Accepted values are null, 'left join', 'right join', 'inner join'

Return Value

HookQuery The current query, for fluid interface

in HookQuery at line 822
HookI18nQuery useHookI18nQuery( string $relationAlias = null, string $joinType = 'LEFT JOIN')

Use the HookI18n relation HookI18n object

Parameters

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'

Return Value

HookI18nQuery A secondary query class using the current class as primary query

See also

useQuery()

in HookQuery at line 838
HookQuery filterByModule( Module $module, string $comparison = Criteria::EQUAL)

Filter the query by a related Module object using the ignoredmodulehook table as cross reference

Parameters

Module $module the related object to use as filter
string $comparison Operator to use for the column comparison, defaults to Criteria::EQUAL

Return Value

HookQuery The current query, for fluid interface

in HookQuery at line 853
HookQuery prune( Hook $hook = null)

Exclude object from result

Parameters

Hook $hook Object to remove from the list of results

Return Value

HookQuery The current query, for fluid interface

in HookQuery at line 868
int doDeleteAll( ConnectionInterface $con = null)

Deletes all rows from the hook table.

Parameters

ConnectionInterface $con the connection to use

Return Value

int The number of affected rows (if supported by underlying database driver).

in HookQuery at line 905
int delete( ConnectionInterface $con = null)

Performs a DELETE on the database, given a ChildHook or Criteria object OR a primary key value.

Parameters

ConnectionInterface $con

Return Value

int The number of affected rows (if supported by underlying database driver). This includes CASCADE-related rows if supported by native driver or if emulated using Propel.

Exceptions

PropelException Any exceptions caught during processing will be rethrown wrapped into a PropelException.

in HookQuery at line 946
HookQuery recentlyUpdated( int $nbDays = 7)

Filter by the latest updated

Parameters

int $nbDays Maximum age of the latest update in days

Return Value

HookQuery The current query, for fluid interface

in HookQuery at line 958
HookQuery recentlyCreated( int $nbDays = 7)

Filter by the latest created

Parameters

int $nbDays Maximum age of in days

Return Value

HookQuery The current query, for fluid interface

in HookQuery at line 968
HookQuery lastUpdatedFirst()

Order by update date desc

Return Value

HookQuery The current query, for fluid interface

in HookQuery at line 978
HookQuery firstUpdatedFirst()

Order by update date asc

Return Value

HookQuery The current query, for fluid interface

in HookQuery at line 988
HookQuery lastCreatedFirst()

Order by create date desc

Return Value

HookQuery The current query, for fluid interface

in HookQuery at line 998
HookQuery firstCreatedFirst()

Order by create date asc

Return Value

HookQuery The current query, for fluid interface

in HookQuery at line 1014
HookQuery joinI18n( string $locale = 'en_US', string $relationAlias = null, string $joinType = Criteria::LEFT_JOIN)

Adds a JOIN clause to the query using the i18n relation

Parameters

string $locale Locale to use for the join condition, e.g. 'fr_FR'
string $relationAlias optional alias for the relation
string $joinType Accepted values are null, 'left join', 'right join', 'inner join'. Defaults to left join.

Return Value

HookQuery The current query, for fluid interface

in HookQuery at line 1032
HookQuery joinWithI18n( string $locale = 'en_US', string $joinType = Criteria::LEFT_JOIN)

Adds a JOIN clause to the query and hydrates the related I18n object.

Shortcut for $c->joinI18n($locale)->with()

Parameters

string $locale Locale to use for the join condition, e.g. 'fr_FR'
string $joinType Accepted values are null, 'left join', 'right join', 'inner join'. Defaults to left join.

Return Value

HookQuery The current query, for fluid interface

in HookQuery at line 1053
HookI18nQuery useI18nQuery( string $locale = 'en_US', string $relationAlias = null, string $joinType = Criteria::LEFT_JOIN)

Use the I18n relation query object

Parameters

string $locale Locale to use for the join condition, e.g. 'fr_FR'
string $relationAlias optional alias for the relation
string $joinType Accepted values are null, 'left join', 'right join', 'inner join'. Defaults to left join.

Return Value

HookI18nQuery A secondary query class using the current class as primary query

See also

useQuery()

in HookQuery at line 89
ChildHookQuery orderById($order = Criteria::ASC)

Order by the id column

Parameters

$order

Return Value

ChildHookQuery

in HookQuery at line 89
ChildHookQuery orderByCode($order = Criteria::ASC)

Order by the code column

Parameters

$order

Return Value

ChildHookQuery

in HookQuery at line 89
ChildHookQuery orderByType($order = Criteria::ASC)

Order by the type column

Parameters

$order

Return Value

ChildHookQuery

in HookQuery at line 89
ChildHookQuery orderByByModule($order = Criteria::ASC)

Order by the by_module column

Parameters

$order

Return Value

ChildHookQuery

in HookQuery at line 89
ChildHookQuery orderByNative($order = Criteria::ASC)

Order by the native column

Parameters

$order

Return Value

ChildHookQuery

in HookQuery at line 89
ChildHookQuery orderByActivate($order = Criteria::ASC)

Order by the activate column

Parameters

$order

Return Value

ChildHookQuery

in HookQuery at line 89
ChildHookQuery orderByBlock($order = Criteria::ASC)

Order by the block column

Parameters

$order

Return Value

ChildHookQuery

in HookQuery at line 89
ChildHookQuery orderByPosition($order = Criteria::ASC)

Order by the position column

Parameters

$order

Return Value

ChildHookQuery

in HookQuery at line 89
ChildHookQuery orderByCreatedAt($order = Criteria::ASC)

Order by the created_at column

Parameters

$order

Return Value

ChildHookQuery

in HookQuery at line 89
ChildHookQuery orderByUpdatedAt($order = Criteria::ASC)

Order by the updated_at column

Parameters

$order

Return Value

ChildHookQuery

in HookQuery at line 89
ChildHookQuery groupById()

Group by the id column

Return Value

ChildHookQuery

in HookQuery at line 89
ChildHookQuery groupByCode()

Group by the code column

Return Value

ChildHookQuery

in HookQuery at line 89
ChildHookQuery groupByType()

Group by the type column

Return Value

ChildHookQuery

in HookQuery at line 89
ChildHookQuery groupByByModule()

Group by the by_module column

Return Value

ChildHookQuery

in HookQuery at line 89
ChildHookQuery groupByNative()

Group by the native column

Return Value

ChildHookQuery

in HookQuery at line 89
ChildHookQuery groupByActivate()

Group by the activate column

Return Value

ChildHookQuery

in HookQuery at line 89
ChildHookQuery groupByBlock()

Group by the block column

Return Value

ChildHookQuery

in HookQuery at line 89
ChildHookQuery groupByPosition()

Group by the position column

Return Value

ChildHookQuery

in HookQuery at line 89
ChildHookQuery groupByCreatedAt()

Group by the created_at column

Return Value

ChildHookQuery

in HookQuery at line 89
ChildHookQuery groupByUpdatedAt()

Group by the updated_at column

Return Value

ChildHookQuery

in HookQuery at line 89
ChildHookQuery leftJoin($relation)

Adds a LEFT JOIN clause to the query

Parameters

$relation

Return Value

ChildHookQuery

in HookQuery at line 89
ChildHookQuery rightJoin($relation)

Adds a RIGHT JOIN clause to the query

Parameters

$relation

Return Value

ChildHookQuery

in HookQuery at line 89
ChildHookQuery innerJoin($relation)

Adds a INNER JOIN clause to the query

Parameters

$relation

Return Value

ChildHookQuery

in HookQuery at line 89
ChildHookQuery leftJoinModuleHook($relationAlias = null)

Adds a LEFT JOIN clause to the query using the ModuleHook relation

Parameters

$relationAlias

Return Value

ChildHookQuery

in HookQuery at line 89
ChildHookQuery rightJoinModuleHook($relationAlias = null)

Adds a RIGHT JOIN clause to the query using the ModuleHook relation

Parameters

$relationAlias

Return Value

ChildHookQuery

in HookQuery at line 89
ChildHookQuery innerJoinModuleHook($relationAlias = null)

Adds a INNER JOIN clause to the query using the ModuleHook relation

Parameters

$relationAlias

Return Value

ChildHookQuery

in HookQuery at line 89
ChildHookQuery leftJoinIgnoredModuleHook($relationAlias = null)

Adds a LEFT JOIN clause to the query using the IgnoredModuleHook relation

Parameters

$relationAlias

Return Value

ChildHookQuery

in HookQuery at line 89
ChildHookQuery rightJoinIgnoredModuleHook($relationAlias = null)

Adds a RIGHT JOIN clause to the query using the IgnoredModuleHook relation

Parameters

$relationAlias

Return Value

ChildHookQuery

in HookQuery at line 89
ChildHookQuery innerJoinIgnoredModuleHook($relationAlias = null)

Adds a INNER JOIN clause to the query using the IgnoredModuleHook relation

Parameters

$relationAlias

Return Value

ChildHookQuery

in HookQuery at line 89
ChildHookQuery leftJoinHookI18n($relationAlias = null)

Adds a LEFT JOIN clause to the query using the HookI18n relation

Parameters

$relationAlias

Return Value

ChildHookQuery

in HookQuery at line 89
ChildHookQuery rightJoinHookI18n($relationAlias = null)

Adds a RIGHT JOIN clause to the query using the HookI18n relation

Parameters

$relationAlias

Return Value

ChildHookQuery

in HookQuery at line 89
ChildHookQuery innerJoinHookI18n($relationAlias = null)

Adds a INNER JOIN clause to the query using the HookI18n relation

Parameters

$relationAlias

Return Value

ChildHookQuery

in HookQuery at line 89
ChildHook findOne( ConnectionInterface $con = null)

Return the first ChildHook matching the query

Parameters

ConnectionInterface $con

Return Value

ChildHook

in HookQuery at line 89
ChildHook findOneOrCreate( ConnectionInterface $con = null)

Return the first ChildHook matching the query, or a new ChildHook object populated from the query conditions when no match is found

Parameters

ConnectionInterface $con

Return Value

ChildHook

in HookQuery at line 89
ChildHook findOneById( int $id)

Return the first ChildHook filtered by the id column

Parameters

int $id

Return Value

ChildHook

in HookQuery at line 89
ChildHook findOneByCode( string $code)

Return the first ChildHook filtered by the code column

Parameters

string $code

Return Value

ChildHook

in HookQuery at line 89
ChildHook findOneByType( int $type)

Return the first ChildHook filtered by the type column

Parameters

int $type

Return Value

ChildHook

in HookQuery at line 89
ChildHook findOneByByModule( boolean $by_module)

Return the first ChildHook filtered by the by_module column

Parameters

boolean $by_module

Return Value

ChildHook

in HookQuery at line 89
ChildHook findOneByNative( boolean $native)

Return the first ChildHook filtered by the native column

Parameters

boolean $native

Return Value

ChildHook

in HookQuery at line 89
ChildHook findOneByActivate( boolean $activate)

Return the first ChildHook filtered by the activate column

Parameters

boolean $activate

Return Value

ChildHook

in HookQuery at line 89
ChildHook findOneByBlock( boolean $block)

Return the first ChildHook filtered by the block column

Parameters

boolean $block

Return Value

ChildHook

in HookQuery at line 89
ChildHook findOneByPosition( int $position)

Return the first ChildHook filtered by the position column

Parameters

int $position

Return Value

ChildHook

in HookQuery at line 89
ChildHook findOneByCreatedAt( string $created_at)

Return the first ChildHook filtered by the created_at column

Parameters

string $created_at

Return Value

ChildHook

in HookQuery at line 89
ChildHook findOneByUpdatedAt( string $updated_at)

Return the first ChildHook filtered by the updated_at column

Parameters

string $updated_at

Return Value

ChildHook

in HookQuery at line 89
array findById( int $id)

Return ChildHook objects filtered by the id column

Parameters

int $id

Return Value

array

in HookQuery at line 89
array findByCode( string $code)

Return ChildHook objects filtered by the code column

Parameters

string $code

Return Value

array

in HookQuery at line 89
array findByType( int $type)

Return ChildHook objects filtered by the type column

Parameters

int $type

Return Value

array

in HookQuery at line 89
array findByByModule( boolean $by_module)

Return ChildHook objects filtered by the by_module column

Parameters

boolean $by_module

Return Value

array

in HookQuery at line 89
array findByNative( boolean $native)

Return ChildHook objects filtered by the native column

Parameters

boolean $native

Return Value

array

in HookQuery at line 89
array findByActivate( boolean $activate)

Return ChildHook objects filtered by the activate column

Parameters

boolean $activate

Return Value

array

in HookQuery at line 89
array findByBlock( boolean $block)

Return ChildHook objects filtered by the block column

Parameters

boolean $block

Return Value

array

in HookQuery at line 89
array findByPosition( int $position)

Return ChildHook objects filtered by the position column

Parameters

int $position

Return Value

array

in HookQuery at line 89
array findByCreatedAt( string $created_at)

Return ChildHook objects filtered by the created_at column

Parameters

string $created_at

Return Value

array

in HookQuery at line 89
array findByUpdatedAt( string $updated_at)

Return ChildHook objects filtered by the updated_at column

Parameters

string $updated_at

Return Value

array