AdminLogQuery
class AdminLogQuery extends AdminLogQuery
Skeleton subclass for performing query and update operations on the 'admin_log' 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\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 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.
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
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 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
No description
Details
        in 
    AdminLogQuery at line 87
                            
    
    __construct(
    string $dbName = 'thelia', 
    string $modelName = '\\Thelia\\Model\\AdminLog', 
    string $modelAlias = null)
    
    Initializes internal state of \Thelia\Model\Base\AdminLogQuery object.
        in 
    AdminLogQuery at line 100
                static            
    AdminLogQuery
    create(
    string $modelAlias = null, 
    Criteria $criteria = null)
    
    Returns a new ChildAdminLogQuery object.
        in 
    AdminLogQuery 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);
        in 
    AdminLogQuery 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);
        in 
    AdminLogQuery at line 233
                            
    AdminLogQuery
    filterByPrimaryKey(
    mixed $key)
    
    Filter the query by primary key
        in 
    AdminLogQuery at line 246
                            
    AdminLogQuery
    filterByPrimaryKeys(
    array $keys)
    
    Filter the query by a list of primary keys
        in 
    AdminLogQuery 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
        in 
    AdminLogQuery 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%'
        in 
    AdminLogQuery 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%'
        in 
    AdminLogQuery 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%'
        in 
    AdminLogQuery 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%'
        in 
    AdminLogQuery 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
        in 
    AdminLogQuery 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%'
        in 
    AdminLogQuery 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%'
        in 
    AdminLogQuery 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%'
        in 
    AdminLogQuery 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'
        in 
    AdminLogQuery 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'
        in 
    AdminLogQuery at line 630
                            
    AdminLogQuery
    prune(
    AdminLog $adminLog = null)
    
    Exclude object from result
        in 
    AdminLogQuery at line 645
                            
    int
    doDeleteAll(
    ConnectionInterface $con = null)
    
    Deletes all rows from the admin_log table.
        in 
    AdminLogQuery 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.
        in 
    AdminLogQuery at line 723
                            
    AdminLogQuery
    recentlyUpdated(
    int $nbDays = 7)
    
    Filter by the latest updated
        in 
    AdminLogQuery at line 735
                            
    AdminLogQuery
    recentlyCreated(
    int $nbDays = 7)
    
    Filter by the latest created
        in 
    AdminLogQuery at line 745
                            
    AdminLogQuery
    lastUpdatedFirst()
    
    Order by update date desc
        in 
    AdminLogQuery at line 755
                            
    AdminLogQuery
    firstUpdatedFirst()
    
    Order by update date asc
        in 
    AdminLogQuery at line 765
                            
    AdminLogQuery
    lastCreatedFirst()
    
    Order by create date desc
        in 
    AdminLogQuery at line 775
                            
    AdminLogQuery
    firstCreatedFirst()
    
    Order by create date asc
        in 
    AdminLogQuery at line 77
                            
    ChildAdminLogQuery
    orderById($order = Criteria::ASC)
    
    Order by the id column
        in 
    AdminLogQuery at line 77
                            
    ChildAdminLogQuery
    orderByAdminLogin($order = Criteria::ASC)
    
    Order by the admin_login column
        in 
    AdminLogQuery at line 77
                            
    ChildAdminLogQuery
    orderByAdminFirstname($order = Criteria::ASC)
    
    Order by the admin_firstname column
        in 
    AdminLogQuery at line 77
                            
    ChildAdminLogQuery
    orderByAdminLastname($order = Criteria::ASC)
    
    Order by the admin_lastname column
        in 
    AdminLogQuery at line 77
                            
    ChildAdminLogQuery
    orderByResource($order = Criteria::ASC)
    
    Order by the resource column
        in 
    AdminLogQuery at line 77
                            
    ChildAdminLogQuery
    orderByResourceId($order = Criteria::ASC)
    
    Order by the resource_id column
        in 
    AdminLogQuery at line 77
                            
    ChildAdminLogQuery
    orderByAction($order = Criteria::ASC)
    
    Order by the action column
        in 
    AdminLogQuery at line 77
                            
    ChildAdminLogQuery
    orderByMessage($order = Criteria::ASC)
    
    Order by the message column
        in 
    AdminLogQuery at line 77
                            
    ChildAdminLogQuery
    orderByRequest($order = Criteria::ASC)
    
    Order by the request column
        in 
    AdminLogQuery at line 77
                            
    ChildAdminLogQuery
    orderByCreatedAt($order = Criteria::ASC)
    
    Order by the created_at column
        in 
    AdminLogQuery at line 77
                            
    ChildAdminLogQuery
    orderByUpdatedAt($order = Criteria::ASC)
    
    Order by the updated_at column
        in 
    AdminLogQuery at line 77
                            
    ChildAdminLogQuery
    groupById()
    
    Group by the id column
        in 
    AdminLogQuery at line 77
                            
    ChildAdminLogQuery
    groupByAdminLogin()
    
    Group by the admin_login column
        in 
    AdminLogQuery at line 77
                            
    ChildAdminLogQuery
    groupByAdminFirstname()
    
    Group by the admin_firstname column
        in 
    AdminLogQuery at line 77
                            
    ChildAdminLogQuery
    groupByAdminLastname()
    
    Group by the admin_lastname column
        in 
    AdminLogQuery at line 77
                            
    ChildAdminLogQuery
    groupByResource()
    
    Group by the resource column
        in 
    AdminLogQuery at line 77
                            
    ChildAdminLogQuery
    groupByResourceId()
    
    Group by the resource_id column
        in 
    AdminLogQuery at line 77
                            
    ChildAdminLogQuery
    groupByAction()
    
    Group by the action column
        in 
    AdminLogQuery at line 77
                            
    ChildAdminLogQuery
    groupByMessage()
    
    Group by the message column
        in 
    AdminLogQuery at line 77
                            
    ChildAdminLogQuery
    groupByRequest()
    
    Group by the request column
        in 
    AdminLogQuery at line 77
                            
    ChildAdminLogQuery
    groupByCreatedAt()
    
    Group by the created_at column
        in 
    AdminLogQuery at line 77
                            
    ChildAdminLogQuery
    groupByUpdatedAt()
    
    Group by the updated_at column
        in 
    AdminLogQuery at line 77
                            
    ChildAdminLogQuery
    leftJoin($relation)
    
    Adds a LEFT JOIN clause to the query
        in 
    AdminLogQuery at line 77
                            
    ChildAdminLogQuery
    rightJoin($relation)
    
    Adds a RIGHT JOIN clause to the query
        in 
    AdminLogQuery at line 77
                            
    ChildAdminLogQuery
    innerJoin($relation)
    
    Adds a INNER JOIN clause to the query
        in 
    AdminLogQuery at line 77
                            
    ChildAdminLog
    findOne(
    ConnectionInterface  $con = null)
    
    Return the first ChildAdminLog matching the query
        in 
    AdminLogQuery 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
        in 
    AdminLogQuery at line 77
                            
    ChildAdminLog
    findOneById(
    int  $id)
    
    Return the first ChildAdminLog filtered by the id column
        in 
    AdminLogQuery at line 77
                            
    ChildAdminLog
    findOneByAdminLogin(
    string  $admin_login)
    
    Return the first ChildAdminLog filtered by the admin_login column
        in 
    AdminLogQuery at line 77
                            
    ChildAdminLog
    findOneByAdminFirstname(
    string  $admin_firstname)
    
    Return the first ChildAdminLog filtered by the admin_firstname column
        in 
    AdminLogQuery at line 77
                            
    ChildAdminLog
    findOneByAdminLastname(
    string  $admin_lastname)
    
    Return the first ChildAdminLog filtered by the admin_lastname column
        in 
    AdminLogQuery at line 77
                            
    ChildAdminLog
    findOneByResource(
    string  $resource)
    
    Return the first ChildAdminLog filtered by the resource column
        in 
    AdminLogQuery at line 77
                            
    ChildAdminLog
    findOneByResourceId(
    int  $resource_id)
    
    Return the first ChildAdminLog filtered by the resource_id column
        in 
    AdminLogQuery at line 77
                            
    ChildAdminLog
    findOneByAction(
    string  $action)
    
    Return the first ChildAdminLog filtered by the action column
        in 
    AdminLogQuery at line 77
                            
    ChildAdminLog
    findOneByMessage(
    string  $message)
    
    Return the first ChildAdminLog filtered by the message column
        in 
    AdminLogQuery at line 77
                            
    ChildAdminLog
    findOneByRequest(
    string  $request)
    
    Return the first ChildAdminLog filtered by the request column
        in 
    AdminLogQuery at line 77
                            
    ChildAdminLog
    findOneByCreatedAt(
    string  $created_at)
    
    Return the first ChildAdminLog filtered by the created_at column
        in 
    AdminLogQuery at line 77
                            
    ChildAdminLog
    findOneByUpdatedAt(
    string  $updated_at)
    
    Return the first ChildAdminLog filtered by the updated_at column
        in 
    AdminLogQuery at line 77
                            
    array
    findById(
    int  $id)
    
    Return ChildAdminLog objects filtered by the id column
        in 
    AdminLogQuery at line 77
                            
    array
    findByAdminLogin(
    string  $admin_login)
    
    Return ChildAdminLog objects filtered by the admin_login column
        in 
    AdminLogQuery at line 77
                            
    array
    findByAdminFirstname(
    string  $admin_firstname)
    
    Return ChildAdminLog objects filtered by the admin_firstname column
        in 
    AdminLogQuery at line 77
                            
    array
    findByAdminLastname(
    string  $admin_lastname)
    
    Return ChildAdminLog objects filtered by the admin_lastname column
        in 
    AdminLogQuery at line 77
                            
    array
    findByResource(
    string  $resource)
    
    Return ChildAdminLog objects filtered by the resource column
        in 
    AdminLogQuery at line 77
                            
    array
    findByResourceId(
    int  $resource_id)
    
    Return ChildAdminLog objects filtered by the resource_id column
        in 
    AdminLogQuery at line 77
                            
    array
    findByAction(
    string  $action)
    
    Return ChildAdminLog objects filtered by the action column
        in 
    AdminLogQuery at line 77
                            
    array
    findByMessage(
    string  $message)
    
    Return ChildAdminLog objects filtered by the message column
        in 
    AdminLogQuery at line 77
                            
    array
    findByRequest(
    string  $request)
    
    Return ChildAdminLog objects filtered by the request column
        in 
    AdminLogQuery at line 77
                            
    array
    findByCreatedAt(
    string  $created_at)
    
    Return ChildAdminLog objects filtered by the created_at column
        in 
    AdminLogQuery at line 77
                            
    array
    findByUpdatedAt(
    string  $updated_at)
    
    Return ChildAdminLog objects filtered by the updated_at column