49 projects tagged "php classes"
Loomes' Nested Set is a class that can be used to manage a tree of information stored in a database. It can perform several types of operations to manipulate a hierarchy of nodes that are stored in a database as table records. Currently, it can insert a root node, insert a node that is child of a given parent, delete a branch of nodes under a given node, delete a single node, rename a node, move nodes, check whether the root node exists, and retrieve the whole tree of nodes.
FTP Folder Copy or Delete is a PHP class that can be used to copy and delete directories on a remote FTP server. It can traverse a given directory recursively and copy all its files and sub-directories to a given directory on an FTP server. The original permissions are also set on the files and directories on the FTP server. The class can also recursively traverse a given directory on the FTP server and remove it, including all its files and sub-directories.
RayFeedReader is a PHP class to retrieve and display feed content from a given URL. It can read feed content into an array, and supports RSS 0.91, RSS 0.92, RDF, RSS 2.0, and Atom feeds. It can detect the feed type automatically, or it can be set manually. A pluggable HTML widget rendering class is supported. The HTML widget can be rendered through the optional RayFeedWidget class or your own extended class. It is easily configurable and can work without any configuration. It is simple and easy to use from anywhere in your application with a single line of code. It supports the Singleton pattern and is light weight.
php mudnames is a PHP class that can generate random names for characters used in role playing games such as multi-user dungeon (MUD) games. Although the names do not mean anything, they sound very much like typical names of characters that you often see in this kind of game. It can retrieve text data from one of several dictionary files. The dictionary data is used to generate random names based on selected capabilities and used particles.
Ext Direct App is a PHP class that can be used to call PHP classes from JavaScript. It generates JavaScript code to use the ExtJS library and send AJAX requests to a PHP script using this class to handle the requests. The class should be extended to implement the actions to handle the different types of AJAX requests that the applications may need.
Image.class is a PHP class that can be used to generate images with graphic primitives defined programmatically. It can create an empty image with a given size or load an existing image from a JPEG, PNG, or GIF image. The class can render graphic primitives in the image like drawing a text string with optional border, copying parts of the image to another position, drawing ellipses, rectangles, and lines, and scaling the image to a given size. The generated image can be saved also in JPEG, PNG, or GIF formats.