@ -21,16 +21,20 @@ use Propel\Runtime\Exception\PropelException;
*
*
*
*
* @method ChildCertificateQuery orderById($order = Criteria::ASC) Order by the id column
* @method ChildCertificateQuery orderById($order = Criteria::ASC) Order by the id column
* @method ChildCertificateQuery orderByUserid($order = Criteria::ASC) Order by the userId column
* @method ChildCertificateQuery orderByUserId($order = Criteria::ASC) Order by the user_id column
* @method ChildCertificateQuery orderByName($order = Criteria::ASC) Order by the name column
* @method ChildCertificateQuery orderByName($order = Criteria::ASC) Order by the name column
* @method ChildCertificateQuery orderByCertificate($order = Criteria::ASC) Order by the certificate column
* @method ChildCertificateQuery orderByCertificate($order = Criteria::ASC) Order by the certificate column
* @method ChildCertificateQuery orderByExpiresOn($order = Criteria::ASC) Order by the expires_on column
* @method ChildCertificateQuery orderByRevoked($order = Criteria::ASC) Order by the revoked column
* @method ChildCertificateQuery orderByRevoked($order = Criteria::ASC) Order by the revoked column
* @method ChildCertificateQuery orderBySerial($order = Criteria::ASC) Order by the serial column
*
*
* @method ChildCertificateQuery groupById() Group by the id column
* @method ChildCertificateQuery groupById() Group by the id column
* @method ChildCertificateQuery groupByUserid() Group by the userId column
* @method ChildCertificateQuery groupByUserId() Group by the user_id column
* @method ChildCertificateQuery groupByName() Group by the name column
* @method ChildCertificateQuery groupByName() Group by the name column
* @method ChildCertificateQuery groupByCertificate() Group by the certificate column
* @method ChildCertificateQuery groupByCertificate() Group by the certificate column
* @method ChildCertificateQuery groupByExpiresOn() Group by the expires_on column
* @method ChildCertificateQuery groupByRevoked() Group by the revoked column
* @method ChildCertificateQuery groupByRevoked() Group by the revoked column
* @method ChildCertificateQuery groupBySerial() Group by the serial column
*
*
* @method ChildCertificateQuery leftJoin($relation) Adds a LEFT JOIN clause to the query
* @method ChildCertificateQuery leftJoin($relation) Adds a LEFT JOIN clause to the query
* @method ChildCertificateQuery rightJoin($relation) Adds a RIGHT JOIN clause to the query
* @method ChildCertificateQuery rightJoin($relation) Adds a RIGHT JOIN clause to the query
@ -46,26 +50,32 @@ use Propel\Runtime\Exception\PropelException;
* @method ChildCertificate findOneOrCreate(ConnectionInterface $con = null) Return the first ChildCertificate matching the query, or a new ChildCertificate object populated from the query conditions when no match is found
* @method ChildCertificate findOneOrCreate(ConnectionInterface $con = null) Return the first ChildCertificate matching the query, or a new ChildCertificate object populated from the query conditions when no match is found
*
*
* @method ChildCertificate findOneById(int $id) Return the first ChildCertificate filtered by the id column
* @method ChildCertificate findOneById(int $id) Return the first ChildCertificate filtered by the id column
* @method ChildCertificate findOneByUserid(int $userId) Return the first ChildCertificate filtered by the userId column
* @method ChildCertificate findOneByUserId(int $user_id) Return the first ChildCertificate filtered by the user_id column
* @method ChildCertificate findOneByName(string $name) Return the first ChildCertificate filtered by the name column
* @method ChildCertificate findOneByName(string $name) Return the first ChildCertificate filtered by the name column
* @method ChildCertificate findOneByCertificate(string $certificate) Return the first ChildCertificate filtered by the certificate column
* @method ChildCertificate findOneByCertificate(string $certificate) Return the first ChildCertificate filtered by the certificate column
* @method ChildCertificate findOneByRevoked(boolean $revoked) Return the first ChildCertificate filtered by the revoked column *
* @method ChildCertificate findOneByExpiresOn(string $expires_on) Return the first ChildCertificate filtered by the expires_on column
* @method ChildCertificate findOneByRevoked(boolean $revoked) Return the first ChildCertificate filtered by the revoked column
* @method ChildCertificate findOneBySerial(string $serial) Return the first ChildCertificate filtered by the serial column *
* @method ChildCertificate requirePk($key, ConnectionInterface $con = null) Return the ChildCertificate by primary key and throws \Propel\Runtime\Exception\EntityNotFoundException when not found
* @method ChildCertificate requirePk($key, ConnectionInterface $con = null) Return the ChildCertificate by primary key and throws \Propel\Runtime\Exception\EntityNotFoundException when not found
* @method ChildCertificate requireOne(ConnectionInterface $con = null) Return the first ChildCertificate matching the query and throws \Propel\Runtime\Exception\EntityNotFoundException when not found
* @method ChildCertificate requireOne(ConnectionInterface $con = null) Return the first ChildCertificate matching the query and throws \Propel\Runtime\Exception\EntityNotFoundException when not found
*
*
* @method ChildCertificate requireOneById(int $id) Return the first ChildCertificate filtered by the id column and throws \Propel\Runtime\Exception\EntityNotFoundException when not found
* @method ChildCertificate requireOneById(int $id) Return the first ChildCertificate filtered by the id column and throws \Propel\Runtime\Exception\EntityNotFoundException when not found
* @method ChildCertificate requireOneByUserid(int $userId) Return the first ChildCertificate filtered by the userId column and throws \Propel\Runtime\Exception\EntityNotFoundException when not found
* @method ChildCertificate requireOneByUserId(int $user_id) Return the first ChildCertificate filtered by the user_id column and throws \Propel\Runtime\Exception\EntityNotFoundException when not found
* @method ChildCertificate requireOneByName(string $name) Return the first ChildCertificate filtered by the name column and throws \Propel\Runtime\Exception\EntityNotFoundException when not found
* @method ChildCertificate requireOneByName(string $name) Return the first ChildCertificate filtered by the name column and throws \Propel\Runtime\Exception\EntityNotFoundException when not found
* @method ChildCertificate requireOneByCertificate(string $certificate) Return the first ChildCertificate filtered by the certificate column and throws \Propel\Runtime\Exception\EntityNotFoundException when not found
* @method ChildCertificate requireOneByCertificate(string $certificate) Return the first ChildCertificate filtered by the certificate column and throws \Propel\Runtime\Exception\EntityNotFoundException when not found
* @method ChildCertificate requireOneByExpiresOn(string $expires_on) Return the first ChildCertificate filtered by the expires_on column and throws \Propel\Runtime\Exception\EntityNotFoundException when not found
* @method ChildCertificate requireOneByRevoked(boolean $revoked) Return the first ChildCertificate filtered by the revoked column and throws \Propel\Runtime\Exception\EntityNotFoundException when not found
* @method ChildCertificate requireOneByRevoked(boolean $revoked) Return the first ChildCertificate filtered by the revoked column and throws \Propel\Runtime\Exception\EntityNotFoundException when not found
* @method ChildCertificate requireOneBySerial(string $serial) Return the first ChildCertificate filtered by the serial column and throws \Propel\Runtime\Exception\EntityNotFoundException when not found
*
*
* @method ChildCertificate[]|ObjectCollection find(ConnectionInterface $con = null) Return ChildCertificate objects based on current ModelCriteria
* @method ChildCertificate[]|ObjectCollection find(ConnectionInterface $con = null) Return ChildCertificate objects based on current ModelCriteria
* @method ChildCertificate[]|ObjectCollection findById(int $id) Return ChildCertificate objects filtered by the id column
* @method ChildCertificate[]|ObjectCollection findById(int $id) Return ChildCertificate objects filtered by the id column
* @method ChildCertificate[]|ObjectCollection findByUserid(int $userId) Return ChildCertificate objects filtered by the userId column
* @method ChildCertificate[]|ObjectCollection findByUserId(int $user_id) Return ChildCertificate objects filtered by the user_id column
* @method ChildCertificate[]|ObjectCollection findByName(string $name) Return ChildCertificate objects filtered by the name column
* @method ChildCertificate[]|ObjectCollection findByName(string $name) Return ChildCertificate objects filtered by the name column
* @method ChildCertificate[]|ObjectCollection findByCertificate(string $certificate) Return ChildCertificate objects filtered by the certificate column
* @method ChildCertificate[]|ObjectCollection findByCertificate(string $certificate) Return ChildCertificate objects filtered by the certificate column
* @method ChildCertificate[]|ObjectCollection findByExpiresOn(string $expires_on) Return ChildCertificate objects filtered by the expires_on column
* @method ChildCertificate[]|ObjectCollection findByRevoked(boolean $revoked) Return ChildCertificate objects filtered by the revoked column
* @method ChildCertificate[]|ObjectCollection findByRevoked(boolean $revoked) Return ChildCertificate objects filtered by the revoked column
* @method ChildCertificate[]|ObjectCollection findBySerial(string $serial) Return ChildCertificate objects filtered by the serial column
* @method ChildCertificate[]|\Propel\Runtime\Util\PropelModelPager paginate($page = 1, $maxPerPage = 10, ConnectionInterface $con = null) Issue a SELECT query based on the current ModelCriteria and uses a page and a maximum number of results per page to compute an offset and a limit
* @method ChildCertificate[]|\Propel\Runtime\Util\PropelModelPager paginate($page = 1, $maxPerPage = 10, ConnectionInterface $con = null) Issue a SELECT query based on the current ModelCriteria and uses a page and a maximum number of results per page to compute an offset and a limit
*
*
*/
*/
@ -158,7 +168,7 @@ abstract class CertificateQuery extends ModelCriteria
*/
*/
protected function findPkSimple($key, ConnectionInterface $con)
protected function findPkSimple($key, ConnectionInterface $con)
{
{
$sql = 'SELECT id, userId, name, certificate, revoked FROM Certificate WHERE id = :p0';
$sql = 'SELECT id, user_id, name, certificate, expires_on, revoked, serial FROM Certificate WHERE id = :p0';
try {
try {
$stmt = $con->prepare($sql);
$stmt = $con->prepare($sql);
$stmt->bindValue(':p0', $key, PDO::PARAM_INT);
$stmt->bindValue(':p0', $key, PDO::PARAM_INT);
@ -290,18 +300,18 @@ abstract class CertificateQuery extends ModelCriteria
}
}
/**
/**
* Filter the query on the userId column
* Filter the query on the user_id column
*
*
* Example usage:
* Example usage:
* <code>
* <code>
* $query->filterByUserid(1234); // WHERE userId = 1234
* $query->filterByUserId(1234); // WHERE user_id = 1234
* $query->filterByUserid(array(12, 34)); // WHERE userId IN (12, 34)
* $query->filterByUserId(array(12, 34)); // WHERE user_id IN (12, 34)
* $query->filterByUserid(array('min' => 12)); // WHERE userId > 12
* $query->filterByUserId(array('min' => 12)); // WHERE user_id > 12
* </code>
* </code>
*
*
* @see filterByUser()
* @see filterByUser()
*
*
* @param mixed $userid The value to use as filter.
* @param mixed $userId The value to use as filter.
* Use scalar values for equality.
* Use scalar values for equality.
* Use array values for in_array() equivalent.
* Use array values for in_array() equivalent.
* Use associative array('min' => $minValue, 'max' => $maxValue) for intervals.
* Use associative array('min' => $minValue, 'max' => $maxValue) for intervals.
@ -309,16 +319,16 @@ abstract class CertificateQuery extends ModelCriteria
*
*
* @return $this|ChildCertificateQuery The current query, for fluid interface
* @return $this|ChildCertificateQuery The current query, for fluid interface
*/
*/
public function filterByUserid($userid = null, $comparison = null)
public function filterByUserId($userId = null, $comparison = null)
@ -21,13 +21,13 @@ use Propel\Runtime\Exception\PropelException;
*
*
*
*
* @method ChildUserQuery orderById($order = Criteria::ASC) Order by the id column
* @method ChildUserQuery orderById($order = Criteria::ASC) Order by the id column
* @method ChildUserQuery orderByMaxkeys($order = Criteria::ASC) Order by the maxKeys column
* @method ChildUserQuery orderByMaxKeys($order = Criteria::ASC) Order by the max_keys column
* @method ChildUserQuery orderByUsername($order = Criteria::ASC) Order by the username column
* @method ChildUserQuery orderByUsername($order = Criteria::ASC) Order by the username column
* @method ChildUserQuery orderByPassword($order = Criteria::ASC) Order by the password column
* @method ChildUserQuery orderByPassword($order = Criteria::ASC) Order by the password column
* @method ChildUserQuery orderBySuperuser($order = Criteria::ASC) Order by the superuser column
* @method ChildUserQuery orderBySuperuser($order = Criteria::ASC) Order by the superuser column
*
*
* @method ChildUserQuery groupById() Group by the id column
* @method ChildUserQuery groupById() Group by the id column
* @method ChildUserQuery groupByMaxkeys() Group by the maxKeys column
* @method ChildUserQuery groupByMaxKeys() Group by the max_keys column
* @method ChildUserQuery groupByUsername() Group by the username column
* @method ChildUserQuery groupByUsername() Group by the username column
* @method ChildUserQuery groupByPassword() Group by the password column
* @method ChildUserQuery groupByPassword() Group by the password column
* @method ChildUserQuery groupBySuperuser() Group by the superuser column
* @method ChildUserQuery groupBySuperuser() Group by the superuser column
@ -46,7 +46,7 @@ use Propel\Runtime\Exception\PropelException;
* @method ChildUser findOneOrCreate(ConnectionInterface $con = null) Return the first ChildUser matching the query, or a new ChildUser object populated from the query conditions when no match is found
* @method ChildUser findOneOrCreate(ConnectionInterface $con = null) Return the first ChildUser matching the query, or a new ChildUser object populated from the query conditions when no match is found
*
*
* @method ChildUser findOneById(int $id) Return the first ChildUser filtered by the id column
* @method ChildUser findOneById(int $id) Return the first ChildUser filtered by the id column
* @method ChildUser findOneByMaxkeys(int $maxKeys) Return the first ChildUser filtered by the maxKeys column
* @method ChildUser findOneByMaxKeys(int $max_keys) Return the first ChildUser filtered by the max_keys column
* @method ChildUser findOneByUsername(string $username) Return the first ChildUser filtered by the username column
* @method ChildUser findOneByUsername(string $username) Return the first ChildUser filtered by the username column
* @method ChildUser findOneByPassword(string $password) Return the first ChildUser filtered by the password column
* @method ChildUser findOneByPassword(string $password) Return the first ChildUser filtered by the password column
* @method ChildUser findOneBySuperuser(boolean $superuser) Return the first ChildUser filtered by the superuser column *
* @method ChildUser findOneBySuperuser(boolean $superuser) Return the first ChildUser filtered by the superuser column *
@ -55,14 +55,14 @@ use Propel\Runtime\Exception\PropelException;
* @method ChildUser requireOne(ConnectionInterface $con = null) Return the first ChildUser matching the query and throws \Propel\Runtime\Exception\EntityNotFoundException when not found
* @method ChildUser requireOne(ConnectionInterface $con = null) Return the first ChildUser matching the query and throws \Propel\Runtime\Exception\EntityNotFoundException when not found
*
*
* @method ChildUser requireOneById(int $id) Return the first ChildUser filtered by the id column and throws \Propel\Runtime\Exception\EntityNotFoundException when not found
* @method ChildUser requireOneById(int $id) Return the first ChildUser filtered by the id column and throws \Propel\Runtime\Exception\EntityNotFoundException when not found
* @method ChildUser requireOneByMaxkeys(int $maxKeys) Return the first ChildUser filtered by the maxKeys column and throws \Propel\Runtime\Exception\EntityNotFoundException when not found
* @method ChildUser requireOneByMaxKeys(int $max_keys) Return the first ChildUser filtered by the max_keys column and throws \Propel\Runtime\Exception\EntityNotFoundException when not found
* @method ChildUser requireOneByUsername(string $username) Return the first ChildUser filtered by the username column and throws \Propel\Runtime\Exception\EntityNotFoundException when not found
* @method ChildUser requireOneByUsername(string $username) Return the first ChildUser filtered by the username column and throws \Propel\Runtime\Exception\EntityNotFoundException when not found
* @method ChildUser requireOneByPassword(string $password) Return the first ChildUser filtered by the password column and throws \Propel\Runtime\Exception\EntityNotFoundException when not found
* @method ChildUser requireOneByPassword(string $password) Return the first ChildUser filtered by the password column and throws \Propel\Runtime\Exception\EntityNotFoundException when not found
* @method ChildUser requireOneBySuperuser(boolean $superuser) Return the first ChildUser filtered by the superuser column and throws \Propel\Runtime\Exception\EntityNotFoundException when not found
* @method ChildUser requireOneBySuperuser(boolean $superuser) Return the first ChildUser filtered by the superuser column and throws \Propel\Runtime\Exception\EntityNotFoundException when not found
*
*
* @method ChildUser[]|ObjectCollection find(ConnectionInterface $con = null) Return ChildUser objects based on current ModelCriteria
* @method ChildUser[]|ObjectCollection find(ConnectionInterface $con = null) Return ChildUser objects based on current ModelCriteria
* @method ChildUser[]|ObjectCollection findById(int $id) Return ChildUser objects filtered by the id column
* @method ChildUser[]|ObjectCollection findById(int $id) Return ChildUser objects filtered by the id column
* @method ChildUser[]|ObjectCollection findByMaxkeys(int $maxKeys) Return ChildUser objects filtered by the maxKeys column
* @method ChildUser[]|ObjectCollection findByMaxKeys(int $max_keys) Return ChildUser objects filtered by the max_keys column
* @method ChildUser[]|ObjectCollection findByUsername(string $username) Return ChildUser objects filtered by the username column
* @method ChildUser[]|ObjectCollection findByUsername(string $username) Return ChildUser objects filtered by the username column
* @method ChildUser[]|ObjectCollection findByPassword(string $password) Return ChildUser objects filtered by the password column
* @method ChildUser[]|ObjectCollection findByPassword(string $password) Return ChildUser objects filtered by the password column
* @method ChildUser[]|ObjectCollection findBySuperuser(boolean $superuser) Return ChildUser objects filtered by the superuser column
* @method ChildUser[]|ObjectCollection findBySuperuser(boolean $superuser) Return ChildUser objects filtered by the superuser column
@ -158,7 +158,7 @@ abstract class UserQuery extends ModelCriteria
*/
*/
protected function findPkSimple($key, ConnectionInterface $con)
protected function findPkSimple($key, ConnectionInterface $con)
{
{
$sql = 'SELECT id, maxKeys, username, password, superuser FROM User WHERE id = :p0';
$sql = 'SELECT id, max_keys, username, password, superuser FROM User WHERE id = :p0';
try {
try {
$stmt = $con->prepare($sql);
$stmt = $con->prepare($sql);
$stmt->bindValue(':p0', $key, PDO::PARAM_INT);
$stmt->bindValue(':p0', $key, PDO::PARAM_INT);
@ -290,16 +290,16 @@ abstract class UserQuery extends ModelCriteria
}
}
/**
/**
* Filter the query on the maxKeys column
* Filter the query on the max_keys column
*
*
* Example usage:
* Example usage:
* <code>
* <code>
* $query->filterByMaxkeys(1234); // WHERE maxKeys = 1234
* $query->filterByMaxKeys(1234); // WHERE max_keys = 1234
* $query->filterByMaxkeys(array(12, 34)); // WHERE maxKeys IN (12, 34)
* $query->filterByMaxKeys(array(12, 34)); // WHERE max_keys IN (12, 34)
* $query->filterByMaxkeys(array('min' => 12)); // WHERE maxKeys > 12
* $query->filterByMaxKeys(array('min' => 12)); // WHERE max_keys > 12
* </code>
* </code>
*
*
* @param mixed $maxkeys The value to use as filter.
* @param mixed $maxKeys The value to use as filter.
* Use scalar values for equality.
* Use scalar values for equality.
* Use array values for in_array() equivalent.
* Use array values for in_array() equivalent.
* Use associative array('min' => $minValue, 'max' => $maxValue) for intervals.
* Use associative array('min' => $minValue, 'max' => $maxValue) for intervals.
@ -307,16 +307,16 @@ abstract class UserQuery extends ModelCriteria
*
*
* @return $this|ChildUserQuery The current query, for fluid interface
* @return $this|ChildUserQuery The current query, for fluid interface
*/
*/
public function filterByMaxkeys($maxkeys = null, $comparison = null)
public function filterByMaxKeys($maxKeys = null, $comparison = null)