LEPTON CMS 7.2.0
feel free to keep it strictly simple...
|
Public Member Functions | |
__construct (string $table, string $order_field='position', string $id_field='id', string $common_field='') | |
move_up (int $id) | |
move_down (int $id) | |
get_new (string $cf_value='') | |
clean (string|int $cf_value='') | |
Static Public Member Functions | |
static | getInstance (string $table, string $order_field='position', string $id_field='id', string $common_field='') |
Data Fields | |
string | $errorMessage = '' |
Static Public Attributes | |
static | $instance |
This file is part of LEPTON Core, released under the GNU GPL Please see LICENSE and COPYING files in your package for details, specially for terms and warranties.
NOTICE:LEPTON CMS Package has several different licenses. Please see the individual license in the header of each single file or info.php of modules and templates.
Definition at line 21 of file lepton_order.php.
__construct | ( | string | $table, |
string | $order_field = 'position', | ||
string | $id_field = 'id', | ||
string | $common_field = '' ) |
string | $table | |
string | $order_field | |
string | $id_field | |
string | $common_field |
Definition at line 54 of file lepton_order.php.
clean | ( | string|int | $cf_value = '' | ) |
Clean ordering (should be called time by time if rows in the middle have been deleted)
string | int | $cf_value |
Definition at line 251 of file lepton_order.php.
get_new | ( | string | $cf_value = '' | ) |
Get new number for order
string | $cf_value |
Definition at line 233 of file lepton_order.php.
|
static |
string | $table | |
string | $order_field | |
string | $id_field | |
string | $common_field |
Definition at line 39 of file lepton_order.php.
move_down | ( | int | $id | ) |
move_up | ( | int | $id | ) |
string $errorMessage = '' |
Definition at line 28 of file lepton_order.php.
|
static |
Definition at line 30 of file lepton_order.php.