class FormFirewallQuery extends ModelCriteria

Base class that represents a query for the 'form_firewall' table.

Methods

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

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

create( string $modelAlias = null, Criteria $criteria = null)

Returns a new ChildFormFirewallQuery object.

FormFirewall|array|mixed
findPk( mixed $key, ConnectionInterface $con = null)

Find object by primary key.

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

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

filterByPrimaryKey( mixed $key)

Filter the query by primary key

filterByPrimaryKeys( array $keys)

Filter the query by a list of primary keys

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

Filter the query on the id column

filterByFormName( string $formName = null, string $comparison = null)

Filter the query on the form_name column

filterByIpAddress( string $ipAddress = null, string $comparison = null)

Filter the query on the ip_address column

filterByAttempts( mixed $attempts = null, string $comparison = null)

Filter the query on the attempts column

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

Filter the query on the created_at column

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

Filter the query on the updated_at column

prune( FormFirewall $formFirewall = null)

Exclude object from result

int
doDeleteAll( ConnectionInterface $con = null)

Deletes all rows from the form_firewall table.

int
delete( ConnectionInterface $con = null)

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

recentlyUpdated( int $nbDays = 7)

Filter by the latest updated

recentlyCreated( int $nbDays = 7)

Filter by the latest created

lastUpdatedFirst()

Order by update date desc

firstUpdatedFirst()

Order by update date asc

lastCreatedFirst()

Order by create date desc

firstCreatedFirst()

Order by create date asc

ChildFormFirewallQuery
orderById($order = Criteria::ASC)

Order by the id column

ChildFormFirewallQuery
orderByFormName($order = Criteria::ASC)

Order by the form_name column

ChildFormFirewallQuery
orderByIpAddress($order = Criteria::ASC)

Order by the ip_address column

ChildFormFirewallQuery
orderByAttempts($order = Criteria::ASC)

Order by the attempts column

ChildFormFirewallQuery
orderByCreatedAt($order = Criteria::ASC)

Order by the created_at column

ChildFormFirewallQuery
orderByUpdatedAt($order = Criteria::ASC)

Order by the updated_at column

ChildFormFirewallQuery
groupById()

Group by the id column

ChildFormFirewallQuery
groupByFormName()

Group by the form_name column

ChildFormFirewallQuery
groupByIpAddress()

Group by the ip_address column

ChildFormFirewallQuery
groupByAttempts()

Group by the attempts column

ChildFormFirewallQuery
groupByCreatedAt()

Group by the created_at column

ChildFormFirewallQuery
groupByUpdatedAt()

Group by the updated_at column

ChildFormFirewallQuery
leftJoin($relation)

Adds a LEFT JOIN clause to the query

ChildFormFirewallQuery
rightJoin($relation)

Adds a RIGHT JOIN clause to the query

ChildFormFirewallQuery
innerJoin($relation)

Adds a INNER JOIN clause to the query

ChildFormFirewall
findOne( ConnectionInterface $con = null)

Return the first ChildFormFirewall matching the query

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

ChildFormFirewall
findOneById( int $id)

Return the first ChildFormFirewall filtered by the id column

ChildFormFirewall
findOneByFormName( string $form_name)

Return the first ChildFormFirewall filtered by the form_name column

ChildFormFirewall
findOneByIpAddress( string $ip_address)

Return the first ChildFormFirewall filtered by the ip_address column

ChildFormFirewall
findOneByAttempts( int $attempts)

Return the first ChildFormFirewall filtered by the attempts column

ChildFormFirewall
findOneByCreatedAt( string $created_at)

Return the first ChildFormFirewall filtered by the created_at column

ChildFormFirewall
findOneByUpdatedAt( string $updated_at)

Return the first ChildFormFirewall filtered by the updated_at column

array
findById( int $id)

Return ChildFormFirewall objects filtered by the id column

array
findByFormName( string $form_name)

Return ChildFormFirewall objects filtered by the form_name column

array
findByIpAddress( string $ip_address)

Return ChildFormFirewall objects filtered by the ip_address column

array
findByAttempts( int $attempts)

Return ChildFormFirewall objects filtered by the attempts column

array
findByCreatedAt( string $created_at)

Return ChildFormFirewall objects filtered by the created_at column

array
findByUpdatedAt( string $updated_at)

Return ChildFormFirewall objects filtered by the updated_at column

Details

at line 67
__construct( string $dbName = 'thelia', string $modelName = '\\Thelia\\Model\\FormFirewall', string $modelAlias = null)

Initializes internal state of \Thelia\Model\Base\FormFirewallQuery 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'

at line 80
static FormFirewallQuery create( string $modelAlias = null, Criteria $criteria = null)

Returns a new ChildFormFirewallQuery object.

Parameters

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

Return Value

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);

Parameters

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

Return Value

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

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);

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

at line 213
FormFirewallQuery filterByPrimaryKey( mixed $key)

Filter the query by primary key

Parameters

mixed $key Primary key to use for the query

Return Value

FormFirewallQuery The current query, for fluid interface

at line 226
FormFirewallQuery 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

FormFirewallQuery The current query, for fluid interface

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

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

FormFirewallQuery The current query, for fluid interface

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%'

Parameters

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

FormFirewallQuery The current query, for fluid interface

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%'

Parameters

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

FormFirewallQuery The current query, for fluid interface

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

Parameters

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

FormFirewallQuery The current query, for fluid interface

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'

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

FormFirewallQuery The current query, for fluid interface

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'

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

FormFirewallQuery The current query, for fluid interface

at line 465
FormFirewallQuery prune( FormFirewall $formFirewall = null)

Exclude object from result

Parameters

FormFirewall $formFirewall Object to remove from the list of results

Return Value

FormFirewallQuery The current query, for fluid interface

at line 480
int doDeleteAll( ConnectionInterface $con = null)

Deletes all rows from the form_firewall table.

Parameters

ConnectionInterface $con the connection to use

Return Value

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

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.

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.

at line 558
FormFirewallQuery recentlyUpdated( int $nbDays = 7)

Filter by the latest updated

Parameters

int $nbDays Maximum age of the latest update in days

Return Value

FormFirewallQuery The current query, for fluid interface

at line 570
FormFirewallQuery recentlyCreated( int $nbDays = 7)

Filter by the latest created

Parameters

int $nbDays Maximum age of in days

Return Value

FormFirewallQuery The current query, for fluid interface

at line 580
FormFirewallQuery lastUpdatedFirst()

Order by update date desc

Return Value

FormFirewallQuery The current query, for fluid interface

at line 590
FormFirewallQuery firstUpdatedFirst()

Order by update date asc

Return Value

FormFirewallQuery The current query, for fluid interface

at line 600
FormFirewallQuery lastCreatedFirst()

Order by create date desc

Return Value

FormFirewallQuery The current query, for fluid interface

at line 610
FormFirewallQuery firstCreatedFirst()

Order by create date asc

Return Value

FormFirewallQuery The current query, for fluid interface

at line 57
ChildFormFirewallQuery orderById($order = Criteria::ASC)

Order by the id column

Parameters

$order

Return Value

ChildFormFirewallQuery

at line 57
ChildFormFirewallQuery orderByFormName($order = Criteria::ASC)

Order by the form_name column

Parameters

$order

Return Value

ChildFormFirewallQuery

at line 57
ChildFormFirewallQuery orderByIpAddress($order = Criteria::ASC)

Order by the ip_address column

Parameters

$order

Return Value

ChildFormFirewallQuery

at line 57
ChildFormFirewallQuery orderByAttempts($order = Criteria::ASC)

Order by the attempts column

Parameters

$order

Return Value

ChildFormFirewallQuery

at line 57
ChildFormFirewallQuery orderByCreatedAt($order = Criteria::ASC)

Order by the created_at column

Parameters

$order

Return Value

ChildFormFirewallQuery

at line 57
ChildFormFirewallQuery orderByUpdatedAt($order = Criteria::ASC)

Order by the updated_at column

Parameters

$order

Return Value

ChildFormFirewallQuery

at line 57
ChildFormFirewallQuery groupById()

Group by the id column

Return Value

ChildFormFirewallQuery

at line 57
ChildFormFirewallQuery groupByFormName()

Group by the form_name column

Return Value

ChildFormFirewallQuery

at line 57
ChildFormFirewallQuery groupByIpAddress()

Group by the ip_address column

Return Value

ChildFormFirewallQuery

at line 57
ChildFormFirewallQuery groupByAttempts()

Group by the attempts column

Return Value

ChildFormFirewallQuery

at line 57
ChildFormFirewallQuery groupByCreatedAt()

Group by the created_at column

Return Value

ChildFormFirewallQuery

at line 57
ChildFormFirewallQuery groupByUpdatedAt()

Group by the updated_at column

Return Value

ChildFormFirewallQuery

at line 57
ChildFormFirewallQuery leftJoin($relation)

Adds a LEFT JOIN clause to the query

Parameters

$relation

Return Value

ChildFormFirewallQuery

at line 57
ChildFormFirewallQuery rightJoin($relation)

Adds a RIGHT JOIN clause to the query

Parameters

$relation

Return Value

ChildFormFirewallQuery

at line 57
ChildFormFirewallQuery innerJoin($relation)

Adds a INNER JOIN clause to the query

Parameters

$relation

Return Value

ChildFormFirewallQuery

at line 57
ChildFormFirewall findOne( ConnectionInterface $con = null)

Return the first ChildFormFirewall matching the query

Parameters

ConnectionInterface $con

Return Value

ChildFormFirewall

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

Parameters

ConnectionInterface $con

Return Value

ChildFormFirewall

at line 57
ChildFormFirewall findOneById( int $id)

Return the first ChildFormFirewall filtered by the id column

Parameters

int $id

Return Value

ChildFormFirewall

at line 57
ChildFormFirewall findOneByFormName( string $form_name)

Return the first ChildFormFirewall filtered by the form_name column

Parameters

string $form_name

Return Value

ChildFormFirewall

at line 57
ChildFormFirewall findOneByIpAddress( string $ip_address)

Return the first ChildFormFirewall filtered by the ip_address column

Parameters

string $ip_address

Return Value

ChildFormFirewall

at line 57
ChildFormFirewall findOneByAttempts( int $attempts)

Return the first ChildFormFirewall filtered by the attempts column

Parameters

int $attempts

Return Value

ChildFormFirewall

at line 57
ChildFormFirewall findOneByCreatedAt( string $created_at)

Return the first ChildFormFirewall filtered by the created_at column

Parameters

string $created_at

Return Value

ChildFormFirewall

at line 57
ChildFormFirewall findOneByUpdatedAt( string $updated_at)

Return the first ChildFormFirewall filtered by the updated_at column

Parameters

string $updated_at

Return Value

ChildFormFirewall

at line 57
array findById( int $id)

Return ChildFormFirewall objects filtered by the id column

Parameters

int $id

Return Value

array

at line 57
array findByFormName( string $form_name)

Return ChildFormFirewall objects filtered by the form_name column

Parameters

string $form_name

Return Value

array

at line 57
array findByIpAddress( string $ip_address)

Return ChildFormFirewall objects filtered by the ip_address column

Parameters

string $ip_address

Return Value

array

at line 57
array findByAttempts( int $attempts)

Return ChildFormFirewall objects filtered by the attempts column

Parameters

int $attempts

Return Value

array

at line 57
array findByCreatedAt( string $created_at)

Return ChildFormFirewall objects filtered by the created_at column

Parameters

string $created_at

Return Value

array

at line 57
array findByUpdatedAt( string $updated_at)

Return ChildFormFirewall objects filtered by the updated_at column

Parameters

string $updated_at

Return Value

array