PHP Class Sortable

This class is designed to work in the Symphony backend only, and not on the Frontend.
Show file Open project: bummzack/sortablefile Class Usage Examples

Public Properties

Property Type Description
$sort_dir

Protected Properties

Property Type Description
$sortTables

Public Methods

Method Description
augmentSQL ( SQLQuery &$query )
onBeforeWrite ( ) Assign a sort number when object is written

Method Details

augmentSQL() public method

See also: DataExtension::augmentSQL()
public augmentSQL ( SQLQuery &$query )
$query SQLQuery

onBeforeWrite() public method

Assign a sort number when object is written
See also: DataExtension::onBeforeWrite()
public onBeforeWrite ( )

Property Details

$sortTables protected static property

protected static $sortTables

$sort_dir public static property

public static $sort_dir