Static Public Member Functions | |
static | swap (DAOConnected $first, DAOConnected $second, $property= 'position') |
static | setNullValue ($nullValue) |
static | increment (DAOConnected &$object, array $fields, $refreshCurrent=true, $query=null) |
Static Private Attributes | |
static | $nullValue = 0 |
Definition at line 15 of file DaoUtils.class.php.
static DaoUtils::increment | ( | DAOConnected &$ | object, | |
array $ | fields, | |||
$ | refreshCurrent = true , |
|||
$ | query = null | |||
) | [static] |
Definition at line 81 of file DaoUtils.class.php.
References Expression::add(), DAOConnected::dao(), Expression::eqId(), DBPool::getByDao(), Identifiable::getId(), and OSQL::update().
static DaoUtils::setNullValue | ( | $ | nullValue | ) | [static] |
Definition at line 76 of file DaoUtils.class.php.
References $nullValue.
static DaoUtils::swap | ( | DAOConnected $ | first, | |
DAOConnected $ | second, | |||
$ | property = 'position' | |||
) | [static] |
Definition at line 19 of file DaoUtils.class.php.
References DAOConnected::dao(), Identifiable::getId(), Assert::isTrue(), and DBPool::me().
Referenced by DaoMoveHelper::down(), and DaoMoveHelper::up().
DaoUtils::$nullValue = 0 [static, private] |
Definition at line 17 of file DaoUtils.class.php.
Referenced by setNullValue().