Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.610.409 Times

array_partition 1.0.2

  Date Added: June 05, 2013  |  Visits: 237

array_partition

Report Broken Link
Printer Friendly Version


Product Homepage
Download (20 downloads)



Introduces function array_partition() to split an array into N number of evenly distributed partitions (useful for splitting a list into columns).This plugin provides a PHP function to split an array into any number of sub-arrays, suitable for creating evenly distributed (vertically filled) "columns". Also known as "chunking" or "partitioning".For example:$topics = array( "ant", "bear", "cat", "dog", "emu", "frog", "gnu", "hippo", "ibis", "jackal");print_r(array_partition($topics, 4));Yields:Array( [0] => Array ( [0] => ant [1] => bear [2] => cat ) [1] => Array ( [0] => dog [1] => emu [2] => frog ) [2] => Array ( [0] => gnu [1] => hippo ) [3] => Array ( [0] => ibis [1] => jackal ))The function will fill as many partitions as requested, as long as there are enough elements in the array to do so. Any remaining unfilled partitions will be represented as empty arrays.It can be sent an array of any data types or objects.Installation : 1. Unzip array_partition.zip inside the /wp-content/plugins/ directory (or install via the built-in WordPress plugin installer) 2. Activate the plugin through the 'Plugins' admin menu in WordPress 3. Use the array_partition() function in your template(s) or code as desired.

Requirements: No special requirements
Platforms: PHP
Keyword: Array Array Partition Arraysit Distributed Empty Evenly Function Number Objectsinstallation Partitions Plugin Represented Requested Split Types Unzip Wordpress
Users rating: 0/10

License: Freeware Size: 10 KB
USER REVIEWS
More Reviews or Write Review


ARRAY_PARTITION RELATED
Science  -  The AgentFactory Framework 1.9.10
Agent Factory is an open and extensible framework for developing and deploying agent systems that provides a FIPA-based distributed Run-Time Environment that supports the deployment of diverse agent types, ranging from bespoke, reactive to...
2.21 MB  
Networking  -  Jack's Category Magic Plugin 0.9.1
Category Magic allows you to do many magical things with categories. For example, it can display links to posts from a single category and even a random category. There are several plugins that can do that. Category Magic does more.On one of my...
10 KB  
Networking  -  Albumize 1.2
I wanted to take the convenience and ease of use of the built-in WordPress [gallery] shortcode and add a little more functionality to it. By organizing your galleries as multiple child pages of one parent page, you can use this plugin to see a...
10 KB  
Modules  -  Social Crowd 0.2
The Social Crowd Plugin grabs the latest counts of your Friends/Fans/Followers etc from your Favorite Social Networks and then displays them on your Blog. The counts that are reported come raw and without styling, so you can make them look and...
61.44 KB  
Modules  -  Comment Spamtrap 1.0.2
This plugin adds 2 form fields to the comment form to detect spam bots that autofill all form fields they find. These fields are hidden by CSS so they are not viewable within the browser. Of the 2 fields, one will be checked that it is still...
10 KB  
Programming  -  Tie::Array::QueueExpire for Linux 1.01
Tie::Array::QueueExpire is a Perl module that requires Time::HiRes, TokyoCabinet (database and perl module.) The insertion is ms unique ( 0.001 seconds ). The normal ARRAY function present are push pop shift
10.24 KB  
Miscellaneous  -  EXPAND Script 1.1
For an array A and a vector B, the function replicates each one's of A's elements by B.The results are tiled into an array in the same order as the elements of A, so that the result is size: size(A).*SZ.Therefore the number of elements of SZ must...
10 KB  
Networking  -  Easy Custom Fields 0.1
Features: * simply generate post boxes with multiple fields / groups * easily validate/sanitize input and output data * easy access to field data via $easy_cf->field_id->get() or $easy_cf->field_id->get( NULL, $raw=true ); * get error messages for...
30.72 KB  
Libraries  -  Math::Amoeba 0.04
Math::Amoeba is a Multidimensional Function Minimization. SYNOPSIS use Math::Amoeba qw(ConstructVertices EvaluateVertices Amoeba MinimiseND); my ($vertice,$y)=MinimiseND(@guess,@scales,&func,$tol,$itmax,$verbose); my...
4.1 KB  
Utilities  -  Partition Image 0.6.6
Partition Image application is a Linux/UNIX utility which saves partitions in many formats (see below) to an image file. The image file can be compressed in the GZIP/BZIP2 formats to save disk space, and split into multiple files to be copied on...
532.48 KB  
NEW DOWNLOADS IN SCRIPTS, NETWORKING
Scripts  -  Free Ecommerce website creator 1.2
Free Ecommerce website creator is a free PHP shop creating script. This allows you to put a online shop on your own website. Create your own free ecommerce website for Your Business. Create an online shop using easyGUI online shop creator. The...
1.44 KB  
Scripts  -  MochiGames PHP Script ZDR 1.00
MochiGames PHP Script ZDR is web site, ready for use, for flash games. These flash games are downloaded automatically by "MochiGames PHP Script ZDR" from MochiGames media. The use of the games is free, you can use your own Mochi Publisher ID and...
368.54 KB  
Scripts  -  Php Chat 2.0
Add a free php site, single sign-on and multiple skins, 100% free 1. Server Modes: The chat server has paid mode and free mode. If the free chat mode, a free chat room will be assigned to your website with your domain as the room name. 2....
938.87 KB  
Scripts  -  Nibbleblog 3.0.1
Nibbleblog it's a powerful engine for creation and manipulation of BLOG's completely free. Very simple to install and configure (Only 1 step). The database used is based on XML files and this way it is not necessary to use MySQL or similar DBMS....
371.09 KB  
Scripts  -  PHP File Manager | CloudOsys 2.9b8
CloudOsys is a PHP file manager, a tool that allows your visitors upload files such as media content directly to your website. Your visitors will upload files directly to your website, where they can share and comment on them. Through cloud...
1.41 MB  
Networking  -  Shortcode Autolink 0.1
Lets you create links automatically on the basis of internal research results, and everything through Shortcode !Installation : 1. Upload the plugin folder to your /wp-content/plugins/ folder. 2. Go to the Plugins page and activate the plugin. 3....
10 KB  
Networking  -  Pixel Sitemap 1.0.0
Pixel Sitemap Plugin allows with the use of widget to display in sidebar links on the posts in compact way, namely as a rows of 1 pixel pictures.The main features are: * Support cache for links * Display links in random order or by date * Easy...
10 KB  
Networking  -  Contexture Page Security 0.7.1
Contexture Page Security adds some much-needed "page security" to WordPress, allowing admins to limit or restrict access to individual pages or entire sections of their website. To do this, admins create "groups" of users that can be added to...
10 KB  
Networking  -  Vertical scroll recent post 8.0
This will scroll the recent post title in site side bar or any desired template location.In version 4.0 three new option added. 1. Categories selection. 2. select display Orderbys. 3. select display orderFeature * User can see the newest post at...
10 KB  
Networking  -  Wp-o-Matic-Authors 1.0
"Wp-o-matic-Authors" is an add-on to Wp-o-Matic. It automatically creates a new author for each campaign (even if already fetched). Then, each post imported by Wp-o-Matic will have as author the name given by this plugin instead of a name already...
10 KB