ModuleHookQuery
class ModuleHookQuery extends ModelCriteria
Base class that represents a query for the 'module_hook' table.
Methods
Initializes internal state of \Thelia\Model\Base\ModuleHookQuery object.
Returns a new ChildModuleHookQuery object.
Find object by primary key.
Find objects by primary key
$objs = $c->findPks(array(12, 56, 832), $con);
Filter the query by primary key
Filter the query by a list of primary keys
Filter the query on the id column
Filter the query on the module_id column
Filter the query on the hook_id column
Filter the query on the classname column
Filter the query on the method column
Filter the query on the active column
Filter the query on the hook_active column
Filter the query on the module_active column
Filter the query on the position column
Filter the query on the templates column
Filter the query by a related \Thelia\Model\Module object
Adds a JOIN clause to the query using the Module relation
Use the Module relation Module object
Filter the query by a related \Thelia\Model\Hook object
Adds a JOIN clause to the query using the Hook relation
Use the Hook relation Hook object
Deletes all rows from the module_hook table.
Performs a DELETE on the database, given a ChildModuleHook or Criteria object OR a primary key value.
Order by the id column
Order by the module_id column
Order by the hook_id column
Order by the classname column
Order by the method column
Order by the active column
Order by the hook_active column
Order by the module_active column
Order by the position column
Order by the templates column
Group by the id column
Group by the module_id column
Group by the hook_id column
Group by the classname column
Group by the method column
Group by the active column
Group by the hook_active column
Group by the module_active column
Group by the position column
Group by the templates column
Adds a LEFT JOIN clause to the query
Adds a RIGHT JOIN clause to the query
Adds a INNER JOIN clause to the query
Adds a LEFT JOIN clause to the query using the Module relation
Adds a RIGHT JOIN clause to the query using the Module relation
Adds a INNER JOIN clause to the query using the Module relation
Adds a LEFT JOIN clause to the query using the Hook relation
Adds a RIGHT JOIN clause to the query using the Hook relation
Adds a INNER JOIN clause to the query using the Hook relation
Return the first ChildModuleHook matching the query
Return the first ChildModuleHook matching the query, or a new ChildModuleHook object populated from the query conditions when no match is found
Return the first ChildModuleHook filtered by the id column
Return the first ChildModuleHook filtered by the module_id column
Return the first ChildModuleHook filtered by the hook_id column
Return the first ChildModuleHook filtered by the classname column
Return the first ChildModuleHook filtered by the method column
Return the first ChildModuleHook filtered by the active column
Return the first ChildModuleHook filtered by the hook_active column
Return the first ChildModuleHook filtered by the module_active column
Return the first ChildModuleHook filtered by the position column
Return the first ChildModuleHook filtered by the templates column
Return ChildModuleHook objects filtered by the id column
Return ChildModuleHook objects filtered by the module_id column
Return ChildModuleHook objects filtered by the hook_id column
Return ChildModuleHook objects filtered by the classname column
Return ChildModuleHook objects filtered by the method column
Return ChildModuleHook objects filtered by the active column
Return ChildModuleHook objects filtered by the hook_active column
Return ChildModuleHook objects filtered by the module_active column
Return ChildModuleHook objects filtered by the position column
Return ChildModuleHook objects filtered by the templates column
Details
at line 94
__construct(
string $dbName = 'thelia',
string $modelName = '\\Thelia\\Model\\ModuleHook',
string $modelAlias = null)
Initializes internal state of \Thelia\Model\Base\ModuleHookQuery object.
at line 107
static
ModuleHookQuery
create(
string $modelAlias = null,
Criteria $criteria = null)
Returns a new ChildModuleHookQuery object.
at line 137
ModuleHook|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);
at line 219
ObjectCollection|array|mixed
findPks(
array $keys,
ConnectionInterface $con = null)
Find objects by primary key
$objs = $c->findPks(array(12, 56, 832), $con);
at line 240
ModuleHookQuery
filterByPrimaryKey(
mixed $key)
Filter the query by primary key
at line 253
ModuleHookQuery
filterByPrimaryKeys(
array $keys)
Filter the query by a list of primary keys
at line 277
ModuleHookQuery
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
at line 320
ModuleHookQuery
filterByModuleId(
mixed $moduleId = null,
string $comparison = null)
Filter the query on the module_id column
Example usage:
$query->filterByModuleId(1234); // WHERE moduleid = 1234
$query->filterByModuleId(array(12, 34)); // WHERE moduleid IN (12, 34)
$query->filterByModuleId(array('min' => 12)); // WHERE module_id > 12
at line 363
ModuleHookQuery
filterByHookId(
mixed $hookId = null,
string $comparison = null)
Filter the query on the hook_id column
Example usage:
$query->filterByHookId(1234); // WHERE hookid = 1234
$query->filterByHookId(array(12, 34)); // WHERE hookid IN (12, 34)
$query->filterByHookId(array('min' => 12)); // WHERE hook_id > 12
at line 401
ModuleHookQuery
filterByClassname(
string $classname = null,
string $comparison = null)
Filter the query on the classname column
Example usage:
$query->filterByClassname('fooValue'); // WHERE classname = 'fooValue'
$query->filterByClassname('%fooValue%'); // WHERE classname LIKE '%fooValue%'
at line 430
ModuleHookQuery
filterByMethod(
string $method = null,
string $comparison = null)
Filter the query on the method column
Example usage:
$query->filterByMethod('fooValue'); // WHERE method = 'fooValue'
$query->filterByMethod('%fooValue%'); // WHERE method LIKE '%fooValue%'
at line 462
ModuleHookQuery
filterByActive(
boolean|string $active = null,
string $comparison = null)
Filter the query on the active column
Example usage:
$query->filterByActive(true); // WHERE active = true
$query->filterByActive('yes'); // WHERE active = true
at line 489
ModuleHookQuery
filterByHookActive(
boolean|string $hookActive = null,
string $comparison = null)
Filter the query on the hook_active column
Example usage:
$query->filterByHookActive(true); // WHERE hookactive = true
$query->filterByHookActive('yes'); // WHERE hookactive = true
at line 516
ModuleHookQuery
filterByModuleActive(
boolean|string $moduleActive = null,
string $comparison = null)
Filter the query on the module_active column
Example usage:
$query->filterByModuleActive(true); // WHERE moduleactive = true
$query->filterByModuleActive('yes'); // WHERE moduleactive = true
at line 543
ModuleHookQuery
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
at line 581
ModuleHookQuery
filterByTemplates(
string $templates = null,
string $comparison = null)
Filter the query on the templates column
Example usage:
$query->filterByTemplates('fooValue'); // WHERE templates = 'fooValue'
$query->filterByTemplates('%fooValue%'); // WHERE templates LIKE '%fooValue%'
at line 603
ModuleHookQuery
filterByModule(
Module|ObjectCollection $module,
string $comparison = null)
Filter the query by a related \Thelia\Model\Module object
at line 628
ModuleHookQuery
joinModule(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Adds a JOIN clause to the query using the Module relation
at line 663
ModuleQuery
useModuleQuery(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Use the Module relation Module object
at line 678
ModuleHookQuery
filterByHook(
Hook|ObjectCollection $hook,
string $comparison = null)
Filter the query by a related \Thelia\Model\Hook object
at line 703
ModuleHookQuery
joinHook(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Adds a JOIN clause to the query using the Hook relation
at line 738
HookQuery
useHookQuery(
string $relationAlias = null,
string $joinType = Criteria::INNER_JOIN)
Use the Hook relation Hook object
at line 752
ModuleHookQuery
prune(
ModuleHook $moduleHook = null)
Exclude object from result
at line 767
int
doDeleteAll(
ConnectionInterface $con = null)
Deletes all rows from the module_hook table.
at line 804
int
delete(
ConnectionInterface $con = null)
Performs a DELETE on the database, given a ChildModuleHook or Criteria object OR a primary key value.
at line 84
ChildModuleHookQuery
orderById($order = Criteria::ASC)
Order by the id column
at line 84
ChildModuleHookQuery
orderByModuleId($order = Criteria::ASC)
Order by the module_id column
at line 84
ChildModuleHookQuery
orderByHookId($order = Criteria::ASC)
Order by the hook_id column
at line 84
ChildModuleHookQuery
orderByClassname($order = Criteria::ASC)
Order by the classname column
at line 84
ChildModuleHookQuery
orderByMethod($order = Criteria::ASC)
Order by the method column
at line 84
ChildModuleHookQuery
orderByActive($order = Criteria::ASC)
Order by the active column
at line 84
ChildModuleHookQuery
orderByHookActive($order = Criteria::ASC)
Order by the hook_active column
at line 84
ChildModuleHookQuery
orderByModuleActive($order = Criteria::ASC)
Order by the module_active column
at line 84
ChildModuleHookQuery
orderByPosition($order = Criteria::ASC)
Order by the position column
at line 84
ChildModuleHookQuery
orderByTemplates($order = Criteria::ASC)
Order by the templates column
at line 84
ChildModuleHookQuery
groupById()
Group by the id column
at line 84
ChildModuleHookQuery
groupByModuleId()
Group by the module_id column
at line 84
ChildModuleHookQuery
groupByHookId()
Group by the hook_id column
at line 84
ChildModuleHookQuery
groupByClassname()
Group by the classname column
at line 84
ChildModuleHookQuery
groupByMethod()
Group by the method column
at line 84
ChildModuleHookQuery
groupByActive()
Group by the active column
at line 84
ChildModuleHookQuery
groupByHookActive()
Group by the hook_active column
at line 84
ChildModuleHookQuery
groupByModuleActive()
Group by the module_active column
at line 84
ChildModuleHookQuery
groupByPosition()
Group by the position column
at line 84
ChildModuleHookQuery
groupByTemplates()
Group by the templates column
at line 84
ChildModuleHookQuery
leftJoin($relation)
Adds a LEFT JOIN clause to the query
at line 84
ChildModuleHookQuery
rightJoin($relation)
Adds a RIGHT JOIN clause to the query
at line 84
ChildModuleHookQuery
innerJoin($relation)
Adds a INNER JOIN clause to the query
at line 84
ChildModuleHookQuery
leftJoinModule($relationAlias = null)
Adds a LEFT JOIN clause to the query using the Module relation
at line 84
ChildModuleHookQuery
rightJoinModule($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the Module relation
at line 84
ChildModuleHookQuery
innerJoinModule($relationAlias = null)
Adds a INNER JOIN clause to the query using the Module relation
at line 84
ChildModuleHookQuery
leftJoinHook($relationAlias = null)
Adds a LEFT JOIN clause to the query using the Hook relation
at line 84
ChildModuleHookQuery
rightJoinHook($relationAlias = null)
Adds a RIGHT JOIN clause to the query using the Hook relation
at line 84
ChildModuleHookQuery
innerJoinHook($relationAlias = null)
Adds a INNER JOIN clause to the query using the Hook relation
at line 84
ChildModuleHook
findOne(
ConnectionInterface $con = null)
Return the first ChildModuleHook matching the query
at line 84
ChildModuleHook
findOneOrCreate(
ConnectionInterface $con = null)
Return the first ChildModuleHook matching the query, or a new ChildModuleHook object populated from the query conditions when no match is found
at line 84
ChildModuleHook
findOneById(
int $id)
Return the first ChildModuleHook filtered by the id column
at line 84
ChildModuleHook
findOneByModuleId(
int $module_id)
Return the first ChildModuleHook filtered by the module_id column
at line 84
ChildModuleHook
findOneByHookId(
int $hook_id)
Return the first ChildModuleHook filtered by the hook_id column
at line 84
ChildModuleHook
findOneByClassname(
string $classname)
Return the first ChildModuleHook filtered by the classname column
at line 84
ChildModuleHook
findOneByMethod(
string $method)
Return the first ChildModuleHook filtered by the method column
at line 84
ChildModuleHook
findOneByActive(
boolean $active)
Return the first ChildModuleHook filtered by the active column
at line 84
ChildModuleHook
findOneByHookActive(
boolean $hook_active)
Return the first ChildModuleHook filtered by the hook_active column
at line 84
ChildModuleHook
findOneByModuleActive(
boolean $module_active)
Return the first ChildModuleHook filtered by the module_active column
at line 84
ChildModuleHook
findOneByPosition(
int $position)
Return the first ChildModuleHook filtered by the position column
at line 84
ChildModuleHook
findOneByTemplates(
string $templates)
Return the first ChildModuleHook filtered by the templates column
at line 84
array
findById(
int $id)
Return ChildModuleHook objects filtered by the id column
at line 84
array
findByModuleId(
int $module_id)
Return ChildModuleHook objects filtered by the module_id column
at line 84
array
findByHookId(
int $hook_id)
Return ChildModuleHook objects filtered by the hook_id column
at line 84
array
findByClassname(
string $classname)
Return ChildModuleHook objects filtered by the classname column
at line 84
array
findByMethod(
string $method)
Return ChildModuleHook objects filtered by the method column
at line 84
array
findByActive(
boolean $active)
Return ChildModuleHook objects filtered by the active column
at line 84
array
findByHookActive(
boolean $hook_active)
Return ChildModuleHook objects filtered by the hook_active column
at line 84
array
findByModuleActive(
boolean $module_active)
Return ChildModuleHook objects filtered by the module_active column
at line 84
array
findByPosition(
int $position)
Return ChildModuleHook objects filtered by the position column
at line 84
array
findByTemplates(
string $templates)
Return ChildModuleHook objects filtered by the templates column