FormFirewallQuery
class FormFirewallQuery extends FormFirewallQuery
Skeleton subclass for performing query and update operations on the 'form_firewall' 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
Initializes internal state of \Thelia\Model\Base\FormFirewallQuery object.
Returns a new ChildFormFirewallQuery 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 form_name column
Filter the query on the ip_address column
Filter the query on the attempts column
Filter the query on the created_at column
Filter the query on the updated_at column
Deletes all rows from the form_firewall table.
Performs a DELETE on the database, given a ChildFormFirewall or Criteria object OR a primary key value.
Filter by the latest updated
Filter by the latest created
Order by the id column
Order by the form_name column
Order by the ip_address column
Order by the attempts column
Order by the created_at column
Order by the updated_at 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
Return the first ChildFormFirewall matching the query
Return the first ChildFormFirewall matching the query, or a new ChildFormFirewall object populated from the query conditions when no match is found
Return the first ChildFormFirewall filtered by the id column
Return the first ChildFormFirewall filtered by the form_name column
Return the first ChildFormFirewall filtered by the ip_address column
Return the first ChildFormFirewall filtered by the attempts column
Return the first ChildFormFirewall filtered by the created_at column
Return the first ChildFormFirewall filtered by the updated_at column
Return ChildFormFirewall objects filtered by the id column
Return ChildFormFirewall objects filtered by the form_name column
Return ChildFormFirewall objects filtered by the ip_address column
Return ChildFormFirewall objects filtered by the attempts column
Return ChildFormFirewall objects filtered by the created_at column
Return ChildFormFirewall objects filtered by the updated_at column
Details
in
FormFirewallQuery at line 67
__construct(
string $dbName = 'thelia',
string $modelName = '\\Thelia\\Model\\FormFirewall',
string $modelAlias = null)
Initializes internal state of \Thelia\Model\Base\FormFirewallQuery object.
in
FormFirewallQuery at line 80
static
FormFirewallQuery
create(
string $modelAlias = null,
Criteria $criteria = null)
Returns a new ChildFormFirewallQuery object.
in
FormFirewallQuery at line 110
FormFirewall|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);
in
FormFirewallQuery at line 192
ObjectCollection|array|mixed
findPks(
array $keys,
ConnectionInterface $con = null)
Find objects by primary key
$objs = $c->findPks(array(12, 56, 832), $con);
in
FormFirewallQuery at line 213
FormFirewallQuery
filterByPrimaryKey(
mixed $key)
Filter the query by primary key
in
FormFirewallQuery at line 226
FormFirewallQuery
filterByPrimaryKeys(
array $keys)
Filter the query by a list of primary keys
in
FormFirewallQuery at line 250
FormFirewallQuery
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
in
FormFirewallQuery at line 288
FormFirewallQuery
filterByFormName(
string $formName = null,
string $comparison = null)
Filter the query on the form_name column
Example usage:
$query->filterByFormName('fooValue'); // WHERE formname = 'fooValue'
$query->filterByFormName('%fooValue%'); // WHERE formname LIKE '%fooValue%'
in
FormFirewallQuery at line 317
FormFirewallQuery
filterByIpAddress(
string $ipAddress = null,
string $comparison = null)
Filter the query on the ip_address column
Example usage:
$query->filterByIpAddress('fooValue'); // WHERE ipaddress = 'fooValue'
$query->filterByIpAddress('%fooValue%'); // WHERE ipaddress LIKE '%fooValue%'
in
FormFirewallQuery at line 349
FormFirewallQuery
filterByAttempts(
mixed $attempts = null,
string $comparison = null)
Filter the query on the attempts column
Example usage:
$query->filterByAttempts(1234); // WHERE attempts = 1234
$query->filterByAttempts(array(12, 34)); // WHERE attempts IN (12, 34)
$query->filterByAttempts(array('min' => 12)); // WHERE attempts > 12
in
FormFirewallQuery at line 392
FormFirewallQuery
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'
in
FormFirewallQuery at line 435
FormFirewallQuery
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'
in
FormFirewallQuery at line 465
FormFirewallQuery
prune(
FormFirewall $formFirewall = null)
Exclude object from result
in
FormFirewallQuery at line 480
int
doDeleteAll(
ConnectionInterface $con = null)
Deletes all rows from the form_firewall table.
in
FormFirewallQuery at line 517
int
delete(
ConnectionInterface $con = null)
Performs a DELETE on the database, given a ChildFormFirewall or Criteria object OR a primary key value.
in
FormFirewallQuery at line 558
FormFirewallQuery
recentlyUpdated(
int $nbDays = 7)
Filter by the latest updated
in
FormFirewallQuery at line 570
FormFirewallQuery
recentlyCreated(
int $nbDays = 7)
Filter by the latest created
in
FormFirewallQuery at line 580
FormFirewallQuery
lastUpdatedFirst()
Order by update date desc
in
FormFirewallQuery at line 590
FormFirewallQuery
firstUpdatedFirst()
Order by update date asc
in
FormFirewallQuery at line 600
FormFirewallQuery
lastCreatedFirst()
Order by create date desc
in
FormFirewallQuery at line 610
FormFirewallQuery
firstCreatedFirst()
Order by create date asc
in
FormFirewallQuery at line 57
ChildFormFirewallQuery
orderById($order = Criteria::ASC)
Order by the id column
in
FormFirewallQuery at line 57
ChildFormFirewallQuery
orderByFormName($order = Criteria::ASC)
Order by the form_name column
in
FormFirewallQuery at line 57
ChildFormFirewallQuery
orderByIpAddress($order = Criteria::ASC)
Order by the ip_address column
in
FormFirewallQuery at line 57
ChildFormFirewallQuery
orderByAttempts($order = Criteria::ASC)
Order by the attempts column
in
FormFirewallQuery at line 57
ChildFormFirewallQuery
orderByCreatedAt($order = Criteria::ASC)
Order by the created_at column
in
FormFirewallQuery at line 57
ChildFormFirewallQuery
orderByUpdatedAt($order = Criteria::ASC)
Order by the updated_at column
in
FormFirewallQuery at line 57
ChildFormFirewallQuery
groupById()
Group by the id column
in
FormFirewallQuery at line 57
ChildFormFirewallQuery
groupByFormName()
Group by the form_name column
in
FormFirewallQuery at line 57
ChildFormFirewallQuery
groupByIpAddress()
Group by the ip_address column
in
FormFirewallQuery at line 57
ChildFormFirewallQuery
groupByAttempts()
Group by the attempts column
in
FormFirewallQuery at line 57
ChildFormFirewallQuery
groupByCreatedAt()
Group by the created_at column
in
FormFirewallQuery at line 57
ChildFormFirewallQuery
groupByUpdatedAt()
Group by the updated_at column
in
FormFirewallQuery at line 57
ChildFormFirewallQuery
leftJoin($relation)
Adds a LEFT JOIN clause to the query
in
FormFirewallQuery at line 57
ChildFormFirewallQuery
rightJoin($relation)
Adds a RIGHT JOIN clause to the query
in
FormFirewallQuery at line 57
ChildFormFirewallQuery
innerJoin($relation)
Adds a INNER JOIN clause to the query
in
FormFirewallQuery at line 57
ChildFormFirewall
findOne(
ConnectionInterface $con = null)
Return the first ChildFormFirewall matching the query
in
FormFirewallQuery at line 57
ChildFormFirewall
findOneOrCreate(
ConnectionInterface $con = null)
Return the first ChildFormFirewall matching the query, or a new ChildFormFirewall object populated from the query conditions when no match is found
in
FormFirewallQuery at line 57
ChildFormFirewall
findOneById(
int $id)
Return the first ChildFormFirewall filtered by the id column
in
FormFirewallQuery at line 57
ChildFormFirewall
findOneByFormName(
string $form_name)
Return the first ChildFormFirewall filtered by the form_name column
in
FormFirewallQuery at line 57
ChildFormFirewall
findOneByIpAddress(
string $ip_address)
Return the first ChildFormFirewall filtered by the ip_address column
in
FormFirewallQuery at line 57
ChildFormFirewall
findOneByAttempts(
int $attempts)
Return the first ChildFormFirewall filtered by the attempts column
in
FormFirewallQuery at line 57
ChildFormFirewall
findOneByCreatedAt(
string $created_at)
Return the first ChildFormFirewall filtered by the created_at column
in
FormFirewallQuery at line 57
ChildFormFirewall
findOneByUpdatedAt(
string $updated_at)
Return the first ChildFormFirewall filtered by the updated_at column
in
FormFirewallQuery at line 57
array
findById(
int $id)
Return ChildFormFirewall objects filtered by the id column
in
FormFirewallQuery at line 57
array
findByFormName(
string $form_name)
Return ChildFormFirewall objects filtered by the form_name column
in
FormFirewallQuery at line 57
array
findByIpAddress(
string $ip_address)
Return ChildFormFirewall objects filtered by the ip_address column
in
FormFirewallQuery at line 57
array
findByAttempts(
int $attempts)
Return ChildFormFirewall objects filtered by the attempts column
in
FormFirewallQuery at line 57
array
findByCreatedAt(
string $created_at)
Return ChildFormFirewall objects filtered by the created_at column
in
FormFirewallQuery at line 57
array
findByUpdatedAt(
string $updated_at)
Return ChildFormFirewall objects filtered by the updated_at column