AdminLogQuery
class AdminLogQuery extends ModelCriteria
Base class that represents a query for the 'admin_log' table.
Methods
Initializes internal state of \Thelia\Model\Base\AdminLogQuery object.
Returns a new ChildAdminLogQuery 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 admin_login column
Filter the query on the admin_firstname column
Filter the query on the admin_lastname column
Filter the query on the resource column
Filter the query on the resource_id column
Filter the query on the action column
Filter the query on the message column
Filter the query on the request column
Filter the query on the created_at column
Filter the query on the updated_at column
Deletes all rows from the admin_log table.
Performs a DELETE on the database, given a ChildAdminLog or Criteria object OR a primary key value.
Filter by the latest updated
Filter by the latest created
Order by update date desc
Order by update date asc
Order by create date desc
Order by create date asc
Order by the id column
Order by the admin_login column
Order by the admin_firstname column
Order by the admin_lastname column
Order by the resource column
Order by the resource_id column
Order by the action column
Order by the message column
Order by the request column
Order by the created_at column
Order by the updated_at column
Group by the id column
Group by the admin_login column
Group by the admin_firstname column
Group by the admin_lastname column
Group by the resource column
Group by the resource_id column
Group by the action column
Group by the message column
Group by the request column
Group by the created_at column
Group 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 ChildAdminLog matching the query
Return the first ChildAdminLog matching the query, or a new ChildAdminLog object populated from the query conditions when no match is found
Return the first ChildAdminLog filtered by the id column
Return the first ChildAdminLog filtered by the admin_login column
Return the first ChildAdminLog filtered by the admin_firstname column
Return the first ChildAdminLog filtered by the admin_lastname column
Return the first ChildAdminLog filtered by the resource column
Return the first ChildAdminLog filtered by the resource_id column
Return the first ChildAdminLog filtered by the action column
Return the first ChildAdminLog filtered by the message column
Return the first ChildAdminLog filtered by the request column
Return the first ChildAdminLog filtered by the created_at column
Return the first ChildAdminLog filtered by the updated_at column
Return ChildAdminLog objects filtered by the id column
Return ChildAdminLog objects filtered by the admin_login column
Return ChildAdminLog objects filtered by the admin_firstname column
Return ChildAdminLog objects filtered by the admin_lastname column
Return ChildAdminLog objects filtered by the resource column
Return ChildAdminLog objects filtered by the resource_id column
Return ChildAdminLog objects filtered by the action column
Return ChildAdminLog objects filtered by the message column
Return ChildAdminLog objects filtered by the request column
Return ChildAdminLog objects filtered by the created_at column
Return ChildAdminLog objects filtered by the updated_at column
Details
at line 87
__construct(
string $dbName = 'thelia',
string $modelName = '\\Thelia\\Model\\AdminLog',
string $modelAlias = null)
Initializes internal state of \Thelia\Model\Base\AdminLogQuery object.
at line 100
static
AdminLogQuery
create(
string $modelAlias = null,
Criteria $criteria = null)
Returns a new ChildAdminLogQuery object.
at line 130
AdminLog|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 212
ObjectCollection|array|mixed
findPks(
array $keys,
ConnectionInterface $con = null)
Find objects by primary key
$objs = $c->findPks(array(12, 56, 832), $con);
at line 233
AdminLogQuery
filterByPrimaryKey(
mixed $key)
Filter the query by primary key
at line 246
AdminLogQuery
filterByPrimaryKeys(
array $keys)
Filter the query by a list of primary keys
at line 270
AdminLogQuery
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 308
AdminLogQuery
filterByAdminLogin(
string $adminLogin = null,
string $comparison = null)
Filter the query on the admin_login column
Example usage:
$query->filterByAdminLogin('fooValue'); // WHERE adminlogin = 'fooValue'
$query->filterByAdminLogin('%fooValue%'); // WHERE adminlogin LIKE '%fooValue%'
at line 337
AdminLogQuery
filterByAdminFirstname(
string $adminFirstname = null,
string $comparison = null)
Filter the query on the admin_firstname column
Example usage:
$query->filterByAdminFirstname('fooValue'); // WHERE adminfirstname = 'fooValue'
$query->filterByAdminFirstname('%fooValue%'); // WHERE adminfirstname LIKE '%fooValue%'
at line 366
AdminLogQuery
filterByAdminLastname(
string $adminLastname = null,
string $comparison = null)
Filter the query on the admin_lastname column
Example usage:
$query->filterByAdminLastname('fooValue'); // WHERE adminlastname = 'fooValue'
$query->filterByAdminLastname('%fooValue%'); // WHERE adminlastname LIKE '%fooValue%'
at line 395
AdminLogQuery
filterByResource(
string $resource = null,
string $comparison = null)
Filter the query on the resource column
Example usage:
$query->filterByResource('fooValue'); // WHERE resource = 'fooValue'
$query->filterByResource('%fooValue%'); // WHERE resource LIKE '%fooValue%'
at line 427
AdminLogQuery
filterByResourceId(
mixed $resourceId = null,
string $comparison = null)
Filter the query on the resource_id column
Example usage:
$query->filterByResourceId(1234); // WHERE resourceid = 1234
$query->filterByResourceId(array(12, 34)); // WHERE resourceid IN (12, 34)
$query->filterByResourceId(array('min' => 12)); // WHERE resource_id > 12
at line 465
AdminLogQuery
filterByAction(
string $action = null,
string $comparison = null)
Filter the query on the action column
Example usage:
$query->filterByAction('fooValue'); // WHERE action = 'fooValue'
$query->filterByAction('%fooValue%'); // WHERE action LIKE '%fooValue%'
at line 494
AdminLogQuery
filterByMessage(
string $message = null,
string $comparison = null)
Filter the query on the message column
Example usage:
$query->filterByMessage('fooValue'); // WHERE message = 'fooValue'
$query->filterByMessage('%fooValue%'); // WHERE message LIKE '%fooValue%'
at line 523
AdminLogQuery
filterByRequest(
string $request = null,
string $comparison = null)
Filter the query on the request column
Example usage:
$query->filterByRequest('fooValue'); // WHERE request = 'fooValue'
$query->filterByRequest('%fooValue%'); // WHERE request LIKE '%fooValue%'
at line 557
AdminLogQuery
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'
at line 600
AdminLogQuery
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'
at line 630
AdminLogQuery
prune(
AdminLog $adminLog = null)
Exclude object from result
at line 645
int
doDeleteAll(
ConnectionInterface $con = null)
Deletes all rows from the admin_log table.
at line 682
int
delete(
ConnectionInterface $con = null)
Performs a DELETE on the database, given a ChildAdminLog or Criteria object OR a primary key value.
at line 723
AdminLogQuery
recentlyUpdated(
int $nbDays = 7)
Filter by the latest updated
at line 735
AdminLogQuery
recentlyCreated(
int $nbDays = 7)
Filter by the latest created
at line 745
AdminLogQuery
lastUpdatedFirst()
Order by update date desc
at line 755
AdminLogQuery
firstUpdatedFirst()
Order by update date asc
at line 765
AdminLogQuery
lastCreatedFirst()
Order by create date desc
at line 775
AdminLogQuery
firstCreatedFirst()
Order by create date asc
at line 77
ChildAdminLogQuery
orderById($order = Criteria::ASC)
Order by the id column
at line 77
ChildAdminLogQuery
orderByAdminLogin($order = Criteria::ASC)
Order by the admin_login column
at line 77
ChildAdminLogQuery
orderByAdminFirstname($order = Criteria::ASC)
Order by the admin_firstname column
at line 77
ChildAdminLogQuery
orderByAdminLastname($order = Criteria::ASC)
Order by the admin_lastname column
at line 77
ChildAdminLogQuery
orderByResource($order = Criteria::ASC)
Order by the resource column
at line 77
ChildAdminLogQuery
orderByResourceId($order = Criteria::ASC)
Order by the resource_id column
at line 77
ChildAdminLogQuery
orderByAction($order = Criteria::ASC)
Order by the action column
at line 77
ChildAdminLogQuery
orderByMessage($order = Criteria::ASC)
Order by the message column
at line 77
ChildAdminLogQuery
orderByRequest($order = Criteria::ASC)
Order by the request column
at line 77
ChildAdminLogQuery
orderByCreatedAt($order = Criteria::ASC)
Order by the created_at column
at line 77
ChildAdminLogQuery
orderByUpdatedAt($order = Criteria::ASC)
Order by the updated_at column
at line 77
ChildAdminLogQuery
groupById()
Group by the id column
at line 77
ChildAdminLogQuery
groupByAdminLogin()
Group by the admin_login column
at line 77
ChildAdminLogQuery
groupByAdminFirstname()
Group by the admin_firstname column
at line 77
ChildAdminLogQuery
groupByAdminLastname()
Group by the admin_lastname column
at line 77
ChildAdminLogQuery
groupByResource()
Group by the resource column
at line 77
ChildAdminLogQuery
groupByResourceId()
Group by the resource_id column
at line 77
ChildAdminLogQuery
groupByAction()
Group by the action column
at line 77
ChildAdminLogQuery
groupByMessage()
Group by the message column
at line 77
ChildAdminLogQuery
groupByRequest()
Group by the request column
at line 77
ChildAdminLogQuery
groupByCreatedAt()
Group by the created_at column
at line 77
ChildAdminLogQuery
groupByUpdatedAt()
Group by the updated_at column
at line 77
ChildAdminLogQuery
leftJoin($relation)
Adds a LEFT JOIN clause to the query
at line 77
ChildAdminLogQuery
rightJoin($relation)
Adds a RIGHT JOIN clause to the query
at line 77
ChildAdminLogQuery
innerJoin($relation)
Adds a INNER JOIN clause to the query
at line 77
ChildAdminLog
findOne(
ConnectionInterface $con = null)
Return the first ChildAdminLog matching the query
at line 77
ChildAdminLog
findOneOrCreate(
ConnectionInterface $con = null)
Return the first ChildAdminLog matching the query, or a new ChildAdminLog object populated from the query conditions when no match is found
at line 77
ChildAdminLog
findOneById(
int $id)
Return the first ChildAdminLog filtered by the id column
at line 77
ChildAdminLog
findOneByAdminLogin(
string $admin_login)
Return the first ChildAdminLog filtered by the admin_login column
at line 77
ChildAdminLog
findOneByAdminFirstname(
string $admin_firstname)
Return the first ChildAdminLog filtered by the admin_firstname column
at line 77
ChildAdminLog
findOneByAdminLastname(
string $admin_lastname)
Return the first ChildAdminLog filtered by the admin_lastname column
at line 77
ChildAdminLog
findOneByResource(
string $resource)
Return the first ChildAdminLog filtered by the resource column
at line 77
ChildAdminLog
findOneByResourceId(
int $resource_id)
Return the first ChildAdminLog filtered by the resource_id column
at line 77
ChildAdminLog
findOneByAction(
string $action)
Return the first ChildAdminLog filtered by the action column
at line 77
ChildAdminLog
findOneByMessage(
string $message)
Return the first ChildAdminLog filtered by the message column
at line 77
ChildAdminLog
findOneByRequest(
string $request)
Return the first ChildAdminLog filtered by the request column
at line 77
ChildAdminLog
findOneByCreatedAt(
string $created_at)
Return the first ChildAdminLog filtered by the created_at column
at line 77
ChildAdminLog
findOneByUpdatedAt(
string $updated_at)
Return the first ChildAdminLog filtered by the updated_at column
at line 77
array
findById(
int $id)
Return ChildAdminLog objects filtered by the id column
at line 77
array
findByAdminLogin(
string $admin_login)
Return ChildAdminLog objects filtered by the admin_login column
at line 77
array
findByAdminFirstname(
string $admin_firstname)
Return ChildAdminLog objects filtered by the admin_firstname column
at line 77
array
findByAdminLastname(
string $admin_lastname)
Return ChildAdminLog objects filtered by the admin_lastname column
at line 77
array
findByResource(
string $resource)
Return ChildAdminLog objects filtered by the resource column
at line 77
array
findByResourceId(
int $resource_id)
Return ChildAdminLog objects filtered by the resource_id column
at line 77
array
findByAction(
string $action)
Return ChildAdminLog objects filtered by the action column
at line 77
array
findByMessage(
string $message)
Return ChildAdminLog objects filtered by the message column
at line 77
array
findByRequest(
string $request)
Return ChildAdminLog objects filtered by the request column
at line 77
array
findByCreatedAt(
string $created_at)
Return ChildAdminLog objects filtered by the created_at column
at line 77
array
findByUpdatedAt(
string $updated_at)
Return ChildAdminLog objects filtered by the updated_at column