PHP Classes
Icontem

Class: Moving List


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Setec Astronomy  >  Moving List  >  Download  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Moving List Support forum
Base name: cmovinglist
Description: Create select inputs and move items between them
Related top rated classes:
Version: -
Required PHP version: -
License: GNU General Public License (GPL)
All time users: 2085 users
All time rank: 1269
Week users: 1 user
Week rank: 3894
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Files Files  

Author

Picture of Setec Astronomy
Name: Setec Astronomy <e-mail contact>
Published packages: 20 Browse this author's classes Browse this author's classes
Country: Italy Italy - PHP jobs in Italy
Home page: http://setecastronomy.redirectme.net/
Age: ???
All time rank: 11
Week rank: 82

Innovation Award

PHP Programming Innovation award nominee
March 2004
Number 4
Some times Web developers have solve the problem of building a list made of items that exist on another list.

For instance, if you want to classify an article for publication that may belong to multiple categories, once you associate the article to a given category, the category will move from the list of possible categories to the list of categories already associated with the article. If you want to remove the association of an article with a category, the opposite list movement needs to be executed.

The problem of implementing movements of items between two lists in a Web application is that the Web controls provided by common HTML forms do not provide an easy way to implement this kind of dynamic user interface manipulation.

The solution provided by this class is to generate Javascript code that can move items between two lists defined with multiple select inputs. The generated Javascript code can be associated to the onclick events of additional control buttons.

Although this solution could be implemented without the need to resort to Javascript, it would require additional form submissions to update the state of the lists, thus making the Web forms less usable.

Manuel Lemos

Groups

Group folder image Content management Components and tools to manage content View top rated classes

Detailed description

This class is meant to assist in the creation of forms with pairs of multiple select inputs with buttons to move options between each of the select inputs.

This is useful to manage lists of values that are made of a limited set of known options.

The class does not generate the form inputs. It just generates the necessary Javascript code to associate to onclick events of form buttons that remove options from one select input and add them to the other.

User ratings

Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (88.6%)
Sufficient (77.3%)
-
Good (84.1%)
-
-
Sufficient (60.5%)
675
Month:
Not yet rated by the users

Applications that use this class

No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

Files

File Role Description
Plain text file CMovingList.php Class Class file
Plain text file sample.php Example Sample script
Download all files: cmovinglist.tar.gz cmovinglist.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products