Login +

Documentation

SLS_BoListing::setAllowedFilters

Since SillySmart 1.0

Description

Set the allowed filters for user
public setAllowedFilters ( [ array $columns ] );

Parameters

  • array $columns
    the mysql columns and their descriptions
     array
     (
    ||t||||t||[0] => array
    ||t||||t||||t||||t||(
    ||t||||t||||t||||t||||t||["column"]||t||||t||||t||= "mysql_column1"
    ||t||||t||||t||||t||||t||["desccription"]||t||= "My column 1"
    ||t||||t||||t||||t||)
    ||t||||t||[1] => array
    ||t||||t||||t||||t||(
    ||t||||t||||t||||t||||t||["column"]||t||||t||||t||= "mysql_column2"
    ||t||||t||||t||||t||||t||["desccription"]||t||= "My column 2"
    ||t||||t||||t||||t||)
     )
     

Return

No return.
No exemples.

Comments

No comment on this function, be the first !

Add your comment

You must login/register to post a reply.