Browse Source

First commit

master
Timothy Warren 9 years ago
commit
88ee67af72
  1. 243
      arr.php
  2. 38
      docs/classes.svg
  3. 425
      docs/classes/PHPUtil.Arr.html
  4. 237
      docs/classes/PHPUtil.Str.html
  5. 567
      docs/css/bootstrap-responsive.css
  6. 3
      docs/css/bootstrap-responsive.min.css
  7. 3365
      docs/css/bootstrap.css
  8. 610
      docs/css/bootstrap.min.css
  9. 91
      docs/css/jquery.iviewer.css
  10. 1
      docs/css/prettify.css
  11. 500
      docs/css/template.css
  12. 72
      docs/deprecated.html
  13. 78
      docs/errors.html
  14. 69
      docs/graph_class.html
  15. BIN
      docs/img/apple-touch-icon-114x114.png
  16. BIN
      docs/img/apple-touch-icon-72x72.png
  17. BIN
      docs/img/apple-touch-icon.png
  18. BIN
      docs/img/favicon.ico
  19. BIN
      docs/img/glyphicons-halflings-white.png
  20. BIN
      docs/img/glyphicons-halflings.png
  21. BIN
      docs/img/icons/arrow_down.png
  22. BIN
      docs/img/icons/arrow_right.png
  23. BIN
      docs/img/icons/class.png
  24. BIN
      docs/img/icons/constant.png
  25. BIN
      docs/img/icons/favicon.ico
  26. BIN
      docs/img/icons/file-php.png
  27. BIN
      docs/img/icons/file.gif
  28. BIN
      docs/img/icons/folder.gif
  29. BIN
      docs/img/icons/function.png
  30. BIN
      docs/img/icons/icon-folder-open-big.png
  31. BIN
      docs/img/icons/icon-th-big.png
  32. 93
      docs/img/icons/icon_template.svg
  33. BIN
      docs/img/icons/interface.png
  34. BIN
      docs/img/icons/method.png
  35. BIN
      docs/img/icons/ok.png
  36. BIN
      docs/img/icons/property.png
  37. BIN
      docs/img/icons/search.gif
  38. BIN
      docs/img/icons/variable.png
  39. BIN
      docs/img/icons/view_source.png
  40. BIN
      docs/img/icons/visibility_private.png
  41. BIN
      docs/img/icons/visibility_protected.png
  42. BIN
      docs/img/icons/visibility_public.png
  43. BIN
      docs/img/iviewer/grab.cur
  44. BIN
      docs/img/iviewer/hand.cur
  45. BIN
      docs/img/iviewer/iviewer.rotate_left.png
  46. BIN
      docs/img/iviewer/iviewer.rotate_right.png
  47. BIN
      docs/img/iviewer/iviewer.zoom_fit.png
  48. BIN
      docs/img/iviewer/iviewer.zoom_fit2.gif
  49. BIN
      docs/img/iviewer/iviewer.zoom_in.png
  50. BIN
      docs/img/iviewer/iviewer.zoom_in2.gif
  51. BIN
      docs/img/iviewer/iviewer.zoom_out.png
  52. BIN
      docs/img/iviewer/iviewer.zoom_out2.gif
  53. BIN
      docs/img/iviewer/iviewer.zoom_zero.png
  54. BIN
      docs/img/iviewer/iviewer.zoom_zero2.gif
  55. BIN
      docs/img/loader.gif
  56. 91
      docs/index.html
  57. 232
      docs/js/SVGPan.js
  58. 1722
      docs/js/bootstrap.js
  59. 1
      docs/js/bootstrap.min.js
  60. 154
      docs/js/jquery-1.4.2.min.js
  61. 9270
      docs/js/jquery-1.7.1.min.js
  62. 1012
      docs/js/jquery-ui-1.8.2.custom.min.js
  63. 104
      docs/js/jquery.cookie.js
  64. 1045
      docs/js/jquery.iviewer.js
  65. 42
      docs/js/jquery.iviewer.min.js
  66. 13
      docs/js/jquery.mousewheel.min.js
  67. 467
      docs/js/jquery.panzoom.js
  68. 228
      docs/js/jquery.splitter.js
  69. 115
      docs/js/jquery.tools.min.js
  70. 256
      docs/js/jquery.treeview.js
  71. 31
      docs/js/menu.js
  72. 2
      docs/js/prettify/lang-apollo.js
  73. 18
      docs/js/prettify/lang-clj.js
  74. 2
      docs/js/prettify/lang-css.js
  75. 1
      docs/js/prettify/lang-go.js
  76. 2
      docs/js/prettify/lang-hs.js
  77. 3
      docs/js/prettify/lang-lisp.js
  78. 2
      docs/js/prettify/lang-lua.js
  79. 2
      docs/js/prettify/lang-ml.js
  80. 4
      docs/js/prettify/lang-n.js
  81. 1
      docs/js/prettify/lang-proto.js
  82. 2
      docs/js/prettify/lang-scala.js
  83. 2
      docs/js/prettify/lang-sql.js
  84. 1
      docs/js/prettify/lang-tex.js
  85. 2
      docs/js/prettify/lang-vb.js
  86. 3
      docs/js/prettify/lang-vhdl.js
  87. 2
      docs/js/prettify/lang-wiki.js
  88. 3
      docs/js/prettify/lang-xq.js
  89. 2
      docs/js/prettify/lang-yaml.js
  90. 28
      docs/js/prettify/prettify.min.js
  91. 45
      docs/js/sidebar.js
  92. 185
      docs/js/template.js
  93. 74
      docs/markers.html
  94. 97
      docs/namespaces/PHPUtil.html
  95. 113
      docs/namespaces/default.html
  96. 72
      docs/packages/.html
  97. 101
      docs/packages/Default.html
  98. 117
      docs/packages/PHPLib.html
  99. 607
      docs/structure.xml
  100. 54
      functions.php
  101. Some files were not shown because too many files have changed in this diff Show More

243
arr.php

@ -0,0 +1,243 @@
<?php
/**
* PHPLib
*
* A PHP library to wrap php functions in a standard fashion
*
* @package PHPLib
* @author Timothy J. Warren
* @copyright Copyright (c) 2013
* @link https://github.com/aviat4ion/PHPLib
* @license MIT
*/
// --------------------------------------------------------------------------
namespace PHPUtil;
/**
* Wrapper over array functions with a consistent interface
*/
class Arr {
/**
* Original array to manipulate
* @var array
*/
protected $original;
/**
* Constructor
*
* @param array $arr
* @return Arr
*/
public function __construct($arr)
{
$this->original = $arr;
}
/**
* Enable using the object as a function
*
* @param string $arr
* @return $this
*/
public function __invoke($arr)
{
$this->__construct($arr);
return $this;
}
/**
* Return the keys or a subset of the keys of an array
*
* @see http://php.net/manual/function.array-keys.php
* @param mixed $search_value
* @param bool $strict
* @return array
*/
public function keys($search_value=NULL, $strict=FALSE)
{
return array_keys($this->original, $search_value, $strict);
}
/**
* Returns the values from the input array with a numeric index
*
* @return array
*/
public function values()
{
return array_values($this->original);
}
/**
* Returns an array of elements from the input array that match the
* specified pattern
*
* @param mixed $pattern
* @param mixed $invert
* @return array
*/
public function grep($pattern, $invert=FALSE)
{
$flags = ($invert == TRUE) ? PREG_GREP_INVERT : 0;
return preg_grep($pattern, $this->original, $flags);
}
/**
* Replace elements in the main array with the values in the passed arrays
* (Takes a variable number of arguments)
*
* @see http://php.net/manual/function.array-replace.php
* @return array
*/
public function replace()
{
$args = func_get_args();
array_unshift($args, $this->original);
return call_user_func_array('array_replace', $args);
}
/**
* Combine arrays
* (Takes a variable number of arguments)
*
* @see http://php.net/manual/function.array-merge.php
* @return array
*/
public function merge()
{
$args = func_get_args();
array_unshift($args, $this->original);
return call_user_func_array('array_merge', $args);
}
/**
* Return a new array from the original with duplicate items removed
*
* @see http://php.net/manual/function.array-unique.php
* @param
* @return array
*/
public function unique($sort_flags=SORT_STRING)
{
return array_unique($this->original, $sort_flags);
}
/**
* Return an array with elements having the defined values
*
* @see http://php.net/manual/function.array-fill.php
* @param int $start_index
* @param int $num
* @param mixed $value
* @return array
*/
public function fill($start_index, $num, $value)
{
return array_file($start_index, $num, $value);
}
/**
* Lengthen array to $pad_length with $pad_value
*
* @see http://php.net/manual/function.array-pad.php
* @param int $pad_size
* @param mixed $pad_value
* @return array
*/
public function pad($pad_size, $pad_value)
{
return array_pad($this->original, $pad_size, $pad_value);
}
/**
* Return an array with keys that are the values of the input
* array, and values as the frequency of those values
*
* @see http://php.net/manual/function.array-count-values.php
* @return array
*/
public function count_values()
{
return array_count_values($this->original);
}
/**
* Return an array with keys and values reversed from the input array
*
* @see http://php.net/manual/function.array-flip.php
* @return array
*/
public function flip()
{
return array_flip($this->original);
}
/**
* Returns the sum of all the values in the array
*
* @see http://php.net/manual/function.array-sum.php
* @return number
*/
public function sum()
{
return array_sum($this->original);
}
/**
* Return a sorted array
*
* @see http://php.net/manual/function.asort.php
* @param int $sort_flags
* @return array
*/
public function sort($sort_flags=SORT_REGULAR)
{
asort($this->original, $sort_flags);
return $this->original;
}
/**
* Return a reverse-sorted array
*
* @see http://php.net/manual/function.asort.php
* @param int $sort_flags
* @return array
*/
public function reverse_sort($sort_flags=SORT_REGULAR)
{
rsort($this->original, $sort_flags);
return $this->original;
}
/**
* Reverse the order of the array
*
* @see http://php.net/manual/function.array-reverse.php
* @param bool $preserve_keys
* @return array
*/
public function reverse($preserve_keys=FALSE)
{
return array_reverse($this->original, $preserve_keys);
}
/**
* Filter elements of the input array using a callback function
*
* @see http://php.net/manual/function.array-filter.php
* @param callable $callback
* @return array
*/
public function filter(callable $callback=NULL)
{
return array_filter($this->original, $callback);
}
}
// End of arr.php

38
docs/classes.svg

@ -0,0 +1,38 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by graphviz version 2.26.3 (20100126.1600)
-->
<!-- Title: G Pages: 1 -->
<svg width="94pt" height="151pt"
viewBox="0.00 0.00 94.00 151.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph1" class="graph" transform="scale(1 1) rotate(0) translate(4 147)">
<title>G</title>
<polygon fill="white" stroke="white" points="-4,5 -4,-147 91,-147 91,5 -4,5"/>
<g id="graph2" class="cluster"><title>cluster_PHPUtil</title>
<polyline fill="none" stroke="gray" points="20,-8 66,-8 "/>
<path fill="none" stroke="gray" d="M66,-8C72,-8 78,-14 78,-20"/>
<polyline fill="none" stroke="gray" points="78,-20 78,-123 "/>
<path fill="none" stroke="gray" d="M78,-123C78,-129 72,-135 66,-135"/>
<polyline fill="none" stroke="gray" points="66,-135 20,-135 "/>
<path fill="none" stroke="gray" d="M20,-135C14,-135 8,-129 8,-123"/>
<polyline fill="none" stroke="gray" points="8,-123 8,-20 "/>
<path fill="none" stroke="gray" d="M8,-20C8,-14 14,-8 20,-8"/>
<text text-anchor="middle" x="43" y="-121.1" font-family="Times Roman,serif" font-size="11.00" fill="gray">PHPUtil</text>
</g>
<!-- \\PHPUtil\\Str -->
<g id="node2" class="node"><title>\\PHPUtil\\Str</title>
<a xlink:href="str.html" xlink:title="Str" target="_parent">
<polygon fill="none" stroke="black" points="70,-106 16,-106 16,-70 70,-70 70,-106"/>
<text text-anchor="middle" x="43" y="-84.6" font-family="Courier,monospace" font-size="11.00">Str</text>
</a>
</g>
<!-- \\PHPUtil\\Arr -->
<g id="node3" class="node"><title>\\PHPUtil\\Arr</title>
<a xlink:href="arr.html" xlink:title="Arr" target="_parent">
<polygon fill="none" stroke="black" points="70,-52 16,-52 16,-16 70,-16 70,-52"/>
<text text-anchor="middle" x="43" y="-30.6" font-family="Courier,monospace" font-size="11.00">Arr</text>
</a>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.9 KiB

425
docs/classes/PHPUtil.Arr.html

@ -0,0 +1,425 @@
<!DOCTYPE html><html xmlns:date="http://exslt.org/dates-and-times" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
<meta charset="utf-8">
<title>PHPLib » \PHPUtil\Arr</title>
<meta name="author" content="Mike van Riel">
<meta name="description" content="">
<link href="../css/template.css" rel="stylesheet" media="all">
<script src="../js/jquery-1.7.1.min.js" type="text/javascript"></script><script src="../js/jquery-ui-1.8.2.custom.min.js" type="text/javascript"></script><script src="../js/jquery.mousewheel.min.js" type="text/javascript"></script><script src="../js/bootstrap.js" type="text/javascript"></script><script src="../js/template.js" type="text/javascript"></script><script src="../js/prettify/prettify.min.js" type="text/javascript"></script><link rel="shortcut icon" href="../img/favicon.ico">
<link rel="apple-touch-icon" href="../img/apple-touch-icon.png">
<link rel="apple-touch-icon" sizes="72x72" href="../img/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="114x114" href="../img/apple-touch-icon-114x114.png">
</head>
<body>
<div class="navbar navbar-fixed-top">
<div class="navbar-inner"><div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></a><a class="brand" href="../index.html">PHPLib</a><div class="nav-collapse"><ul class="nav">
<li class="dropdown">
<a href="#api" class="dropdown-toggle" data-toggle="dropdown">
API Documentation <b class="caret"></b></a><ul class="dropdown-menu">
<li><a>Packages</a></li>
<li><a href="../packages/Default.html"><i class="icon-folder-open"></i> Default</a></li>
<li><a href="../packages/PHPLib.html"><i class="icon-folder-open"></i> PHPLib</a></li>
</ul>
</li>
<li class="dropdown" id="charts-menu">
<a href="#charts" class="dropdown-toggle" data-toggle="dropdown">
Charts <b class="caret"></b></a><ul class="dropdown-menu"><li><a href="../graph_class.html"><i class="icon-list-alt"></i> Class hierarchy diagram</a></li></ul>
</li>
<li class="dropdown" id="reports-menu">
<a href="#reports" class="dropdown-toggle" data-toggle="dropdown">
Reports <b class="caret"></b></a><ul class="dropdown-menu">
<li><a href="../errors.html"><i class="icon-remove-sign"></i> Errors 
<span class="label label-info">0</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li>
</ul>
</li>
</ul></div>
</div></div>
<div class="go_to_top"><a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a></div>
</div>
<div id="___" class="container">
<noscript><div class="alert alert-warning">
Javascript is disabled; several features are only available
if Javascript is enabled.
</div></noscript>
<div class="row">
<div class="span4">
<span class="btn-group visibility" data-toggle="buttons-checkbox"><button class="btn public active" title="Show public elements">Public</button><button class="btn protected" title="Show protected elements">Protected</button><button class="btn private" title="Show private elements">Private</button><button class="btn inherited active" title="Show inherited elements">Inherited</button></span><div class="btn-group view pull-right" data-toggle="buttons-radio">
<button class="btn details" title="Show descriptions and method names"><i class="icon-list"></i></button><button class="btn simple" title="Show only method names"><i class="icon-align-justify"></i></button>
</div>
<ul class="side-nav nav nav-list">
<li class="nav-header">
<i class="icon-custom icon-method"></i> Methods</li>
<li class="method public "><a href="#__construct" title="__construct :: Constructor"><span class="description">Constructor</span><pre>__construct()</pre></a></li>
<li class="method public "><a href="#__invoke" title="__invoke :: Enable using the object as a function"><span class="description">Enable using the object as a function</span><pre>__invoke()</pre></a></li>
<li class="method public "><a href="#count_values" title="count_values :: Return an array with keys that are the values of the input
array, and values as the frequency of those values"><span class="description">Return an array with keys that are the values of the input
array, and values as the frequency of those values</span><pre>count_values()</pre></a></li>
<li class="method public "><a href="#fill" title="fill :: Return an array with elements having the defined values"><span class="description">Return an array with elements having the defined values</span><pre>fill()</pre></a></li>
<li class="method public "><a href="#filter" title="filter :: Filter elements of the input array using a callback function"><span class="description">Filter elements of the input array using a callback function</span><pre>filter()</pre></a></li>
<li class="method public "><a href="#flip" title="flip :: Return an array with keys and values reversed from the input array"><span class="description">Return an array with keys and values reversed from the input array</span><pre>flip()</pre></a></li>
<li class="method public "><a href="#grep" title="grep :: Returns an array of elements from the input array that match the
specified pattern"><span class="description">Returns an array of elements from the input array that match the
specified pattern</span><pre>grep()</pre></a></li>
<li class="method public "><a href="#keys" title="keys :: Return the keys or a subset of the keys of an array"><span class="description">Return the keys or a subset of the keys of an array</span><pre>keys()</pre></a></li>
<li class="method public "><a href="#merge" title="merge :: Combine arrays
(Takes a variable number of arguments)"><span class="description">Combine arrays
(Takes a variable number of arguments)</span><pre>merge()</pre></a></li>
<li class="method public "><a href="#pad" title="pad :: Lengthen array to $pad_length with $pad_value"><span class="description">Lengthen array to $pad_length with $pad_value</span><pre>pad()</pre></a></li>
<li class="method public "><a href="#replace" title="replace :: Replace elements in the main array with the values in the passed arrays
(Takes a variable number of arguments)"><span class="description">Replace elements in the main array with the values in the passed arrays
(Takes a variable number of arguments)</span><pre>replace()</pre></a></li>
<li class="method public "><a href="#reverse" title="reverse :: Reverse the order of the array"><span class="description">Reverse the order of the array</span><pre>reverse()</pre></a></li>
<li class="method public "><a href="#reverse_sort" title="reverse_sort :: Return a reverse-sorted array"><span class="description">Return a reverse-sorted array</span><pre>reverse_sort()</pre></a></li>
<li class="method public "><a href="#sort" title="sort :: Return a sorted array"><span class="description">Return a sorted array</span><pre>sort()</pre></a></li>
<li class="method public "><a href="#sum" title="sum :: Returns the sum of all the values in the array"><span class="description">Returns the sum of all the values in the array</span><pre>sum()</pre></a></li>
<li class="method public "><a href="#unique" title="unique :: Return a new array from the original with duplicate items removed"><span class="description">Return a new array from the original with duplicate items removed</span><pre>unique()</pre></a></li>
<li class="method public "><a href="#values" title="values :: Returns the values from the input array with a numeric index"><span class="description">Returns the values from the input array with a numeric index</span><pre>values()</pre></a></li>
<li class="nav-header">
<i class="icon-custom icon-property"></i> Properties</li>
<li class="nav-header protected">» Protected</li>
<li class="property protected "><a href="#%24original" title="$original :: Original array to manipulate"><span class="description">Original array to manipulate</span><pre>$original</pre></a></li>
</ul>
</div>
<div class="span8">
<a name="%5CPHPUtil%5CArr" id="\PHPUtil\Arr"></a><ul class="breadcrumb">
<li>
<a href="../index.html"><i class="icon-custom icon-class"></i></a><span class="divider">\</span>
</li>
<li><a href="../namespaces/PHPUtil.html">PHPUtil</a></li>
<li class="active">
<span class="divider">\</span><a href="../classes/PHPUtil.Arr.html">Arr</a>
</li>
</ul>
<div href="../classes/PHPUtil.Arr.html" class="element class">
<p class="short_description">Wrapper over array functions with a consistent interface</p>
<div class="details">
<p class="long_description"></p>
<h3>
<i class="icon-custom icon-method"></i> Methods</h3>
<a name="__construct" id="__construct"></a><div class="element clickable method public __construct" data-toggle="collapse" data-target=".__construct .collapse">
<h2>Constructor</h2>
<pre>__construct(array $arr) : <a href="../classes/PHPUtil.Arr.html">\PHPUtil\Arr</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$arr</h4>
<code>array</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code><a href="../classes/PHPUtil.Arr.html">\PHPUtil\Arr</a></code></div>
</div></div>
</div>
<a name="__invoke" id="__invoke"></a><div class="element clickable method public __invoke" data-toggle="collapse" data-target=".__invoke .collapse">
<h2>Enable using the object as a function</h2>
<pre>__invoke(string $arr) : \PHPUtil\$this</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$arr</h4>
<code>string</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>\PHPUtil\$this</code></div>
</div></div>
</div>
<a name="count_values" id="count_values"></a><div class="element clickable method public count_values" data-toggle="collapse" data-target=".count_values .collapse">
<h2>Return an array with keys that are the values of the input
array, and values as the frequency of those values</h2>
<pre>count_values() : array</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>see</th>
<td>\PHPUtil\http://php.net/manual/function.array-count-values.php</td>
</tr></table>
<h3>Returns</h3>
<div class="subelement response"><code>array</code></div>
</div></div>
</div>
<a name="fill" id="fill"></a><div class="element clickable method public fill" data-toggle="collapse" data-target=".fill .collapse">
<h2>Return an array with elements having the defined values</h2>
<pre>fill(int $start_index, int $num, mixed $value) : array</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>see</th>
<td>\PHPUtil\http://php.net/manual/function.array-fill.php</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$start_index</h4>
<code>int</code>
</div>
<div class="subelement argument">
<h4>$num</h4>
<code>int</code>
</div>
<div class="subelement argument">
<h4>$value</h4>
<code>mixed</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>array</code></div>
</div></div>
</div>
<a name="filter" id="filter"></a><div class="element clickable method public filter" data-toggle="collapse" data-target=".filter .collapse">
<h2>Filter elements of the input array using a callback function</h2>
<pre>filter(\PHPUtil\callable $callback) : array</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>see</th>
<td>\PHPUtil\http://php.net/manual/function.array-filter.php</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$callback</h4>
<code>\PHPUtil\callable</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>array</code></div>
</div></div>
</div>
<a name="flip" id="flip"></a><div class="element clickable method public flip" data-toggle="collapse" data-target=".flip .collapse">
<h2>Return an array with keys and values reversed from the input array</h2>
<pre>flip() : array</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>see</th>
<td>\PHPUtil\http://php.net/manual/function.array-flip.php</td>
</tr></table>
<h3>Returns</h3>
<div class="subelement response"><code>array</code></div>
</div></div>
</div>
<a name="grep" id="grep"></a><div class="element clickable method public grep" data-toggle="collapse" data-target=".grep .collapse">
<h2>Returns an array of elements from the input array that match the
specified pattern</h2>
<pre>grep(mixed $pattern, mixed $invert) : array</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$pattern</h4>
<code>mixed</code>
</div>
<div class="subelement argument">
<h4>$invert</h4>
<code>mixed</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>array</code></div>
</div></div>
</div>
<a name="keys" id="keys"></a><div class="element clickable method public keys" data-toggle="collapse" data-target=".keys .collapse">
<h2>Return the keys or a subset of the keys of an array</h2>
<pre>keys(mixed $search_value, bool $strict) : array</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>see</th>
<td>\PHPUtil\http://php.net/manual/function.array-keys.php</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$search_value</h4>
<code>mixed</code>
</div>
<div class="subelement argument">
<h4>$strict</h4>
<code>bool</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>array</code></div>
</div></div>
</div>
<a name="merge" id="merge"></a><div class="element clickable method public merge" data-toggle="collapse" data-target=".merge .collapse">
<h2>Combine arrays
(Takes a variable number of arguments)</h2>
<pre>merge() : array</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>see</th>
<td>\PHPUtil\http://php.net/manual/function.array-merge.php</td>
</tr></table>
<h3>Returns</h3>
<div class="subelement response"><code>array</code></div>
</div></div>
</div>
<a name="pad" id="pad"></a><div class="element clickable method public pad" data-toggle="collapse" data-target=".pad .collapse">
<h2>Lengthen array to $pad_length with $pad_value</h2>
<pre>pad(int $pad_size, mixed $pad_value) : array</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>see</th>
<td>\PHPUtil\http://php.net/manual/function.array-pad.php</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$pad_size</h4>
<code>int</code>
</div>
<div class="subelement argument">
<h4>$pad_value</h4>
<code>mixed</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>array</code></div>
</div></div>
</div>
<a name="replace" id="replace"></a><div class="element clickable method public replace" data-toggle="collapse" data-target=".replace .collapse">
<h2>Replace elements in the main array with the values in the passed arrays
(Takes a variable number of arguments)</h2>
<pre>replace() : array</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>see</th>
<td>\PHPUtil\http://php.net/manual/function.array-replace.php</td>
</tr></table>
<h3>Returns</h3>
<div class="subelement response"><code>array</code></div>
</div></div>
</div>
<a name="reverse" id="reverse"></a><div class="element clickable method public reverse" data-toggle="collapse" data-target=".reverse .collapse">
<h2>Reverse the order of the array</h2>
<pre>reverse(bool $preserve_keys) : array</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>see</th>
<td>\PHPUtil\http://php.net/manual/function.array-reverse.php</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$preserve_keys</h4>
<code>bool</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>array</code></div>
</div></div>
</div>
<a name="reverse_sort" id="reverse_sort"></a><div class="element clickable method public reverse_sort" data-toggle="collapse" data-target=".reverse_sort .collapse">
<h2>Return a reverse-sorted array</h2>
<pre>reverse_sort(int $sort_flags) : array</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>see</th>
<td>\PHPUtil\http://php.net/manual/function.asort.php</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$sort_flags</h4>
<code>int</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>array</code></div>
</div></div>
</div>
<a name="sort" id="sort"></a><div class="element clickable method public sort" data-toggle="collapse" data-target=".sort .collapse">
<h2>Return a sorted array</h2>
<pre>sort(int $sort_flags) : array</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>see</th>
<td>\PHPUtil\http://php.net/manual/function.asort.php</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$sort_flags</h4>
<code>int</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>array</code></div>
</div></div>
</div>
<a name="sum" id="sum"></a><div class="element clickable method public sum" data-toggle="collapse" data-target=".sum .collapse">
<h2>Returns the sum of all the values in the array</h2>
<pre>sum() : \PHPUtil\number</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>see</th>
<td>\PHPUtil\http://php.net/manual/function.array-sum.php</td>
</tr></table>
<h3>Returns</h3>
<div class="subelement response"><code>\PHPUtil\number</code></div>
</div></div>
</div>
<a name="unique" id="unique"></a><div class="element clickable method public unique" data-toggle="collapse" data-target=".unique .collapse">
<h2>Return a new array from the original with duplicate items removed</h2>
<pre>unique($sort_flags) : array</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>see</th>
<td>\PHPUtil\http://php.net/manual/function.array-unique.php</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$sort_flags</h4>
<code></code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>array</code></div>
</div></div>
</div>
<a name="values" id="values"></a><div class="element clickable method public values" data-toggle="collapse" data-target=".values .collapse">
<h2>Returns the values from the input array with a numeric index</h2>
<pre>values() : array</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Returns</h3>
<div class="subelement response"><code>array</code></div>
</div></div>
</div>
<h3>
<i class="icon-custom icon-property"></i> Properties</h3>
<a name="%24original" id="$original"> </a><div class="element clickable property protected $original" data-toggle="collapse" data-target=".$original .collapse">
<h2>Original array to manipulate</h2>
<pre>$original : array</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
</div>
</div>
</div>
</div>
</div>
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2013-01-31T15:19:19-05:00.<br></footer></div>
</div>
</body>
</html>

237
docs/classes/PHPUtil.Str.html

@ -0,0 +1,237 @@
<!DOCTYPE html><html xmlns:date="http://exslt.org/dates-and-times" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
<meta charset="utf-8">
<title>PHPLib » \PHPUtil\Str</title>
<meta name="author" content="Mike van Riel">
<meta name="description" content="">
<link href="../css/template.css" rel="stylesheet" media="all">
<script src="../js/jquery-1.7.1.min.js" type="text/javascript"></script><script src="../js/jquery-ui-1.8.2.custom.min.js" type="text/javascript"></script><script src="../js/jquery.mousewheel.min.js" type="text/javascript"></script><script src="../js/bootstrap.js" type="text/javascript"></script><script src="../js/template.js" type="text/javascript"></script><script src="../js/prettify/prettify.min.js" type="text/javascript"></script><link rel="shortcut icon" href="../img/favicon.ico">
<link rel="apple-touch-icon" href="../img/apple-touch-icon.png">
<link rel="apple-touch-icon" sizes="72x72" href="../img/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="114x114" href="../img/apple-touch-icon-114x114.png">
</head>
<body>
<div class="navbar navbar-fixed-top">
<div class="navbar-inner"><div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></a><a class="brand" href="../index.html">PHPLib</a><div class="nav-collapse"><ul class="nav">
<li class="dropdown">
<a href="#api" class="dropdown-toggle" data-toggle="dropdown">
API Documentation <b class="caret"></b></a><ul class="dropdown-menu">
<li><a>Packages</a></li>
<li><a href="../packages/Default.html"><i class="icon-folder-open"></i> Default</a></li>
<li><a href="../packages/PHPLib.html"><i class="icon-folder-open"></i> PHPLib</a></li>
</ul>
</li>
<li class="dropdown" id="charts-menu">
<a href="#charts" class="dropdown-toggle" data-toggle="dropdown">
Charts <b class="caret"></b></a><ul class="dropdown-menu"><li><a href="../graph_class.html"><i class="icon-list-alt"></i> Class hierarchy diagram</a></li></ul>
</li>
<li class="dropdown" id="reports-menu">
<a href="#reports" class="dropdown-toggle" data-toggle="dropdown">
Reports <b class="caret"></b></a><ul class="dropdown-menu">
<li><a href="../errors.html"><i class="icon-remove-sign"></i> Errors 
<span class="label label-info">0</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
<ul></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
<span class="label label-info">0</span></a></li>
</ul>
</li>
</ul></div>
</div></div>
<div class="go_to_top"><a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a></div>
</div>
<div id="___" class="container">
<noscript><div class="alert alert-warning">
Javascript is disabled; several features are only available
if Javascript is enabled.
</div></noscript>
<div class="row">
<div class="span4">
<span class="btn-group visibility" data-toggle="buttons-checkbox"><button class="btn public active" title="Show public elements">Public</button><button class="btn protected" title="Show protected elements">Protected</button><button class="btn private" title="Show private elements">Private</button><button class="btn inherited active" title="Show inherited elements">Inherited</button></span><div class="btn-group view pull-right" data-toggle="buttons-radio">
<button class="btn details" title="Show descriptions and method names"><i class="icon-list"></i></button><button class="btn simple" title="Show only method names"><i class="icon-align-justify"></i></button>
</div>
<ul class="side-nav nav nav-list">
<li class="nav-header">
<i class="icon-custom icon-method"></i> Methods</li>
<li class="method public "><a href="#_" title="_ :: Return output from the last method"><span class="description">Return output from the last method</span><pre>_()</pre></a></li>
<li class="method public "><a href="#__construct" title="__construct :: Constructor"><span class="description">Constructor</span><pre>__construct()</pre></a></li>
<li class="method public "><a href="#__invoke" title="__invoke :: Enable using the object as a function"><span class="description">Enable using the object as a function</span><pre>__invoke()</pre></a></li>
<li class="method public "><a href="#__toString" title="__toString :: Output from the last method"><span class="description">Output from the last method</span><pre>__toString()</pre></a></li>
<li class="method public "><a href="#format" title="format :: Formats a string according to the pattern passed to the str() function"><span class="description">Formats a string according to the pattern passed to the str() function</span><pre>format()</pre></a></li>
<li class="method public "><a href="#match" title="match :: Check whether a string matches the provided pattern"><span class="description">Check whether a string matches the provided pattern</span><pre>match()</pre></a></li>
<li class="method public "><a href="#reg_replace" title="reg_replace :: String replacement via a regular expression"><span class="description">String replacement via a regular expression</span><pre>reg_replace()</pre></a></li>
<li class="method public "><a href="#replace" title="replace :: Do a basic string replacement"><span class="description">Do a basic string replacement</span><pre>replace()</pre></a></li>
<li class="nav-header">
<i class="icon-custom icon-property"></i> Properties</li>
<li class="nav-header protected">» Protected</li>
<li class="property protected "><a href="#%24original" title="$original :: Original string to be modified"><span class="description">Original string to be modified</span><pre>$original</pre></a></li>
</ul>
</div>
<div class="span8">
<a name="%5CPHPUtil%5CStr" id="\PHPUtil\Str"></a><ul class="breadcrumb">
<li>
<a href="../index.html"><i class="icon-custom icon-class"></i></a><span class="divider">\</span>
</li>
<li><a href="../namespaces/PHPUtil.html">PHPUtil</a></li>
<li class="active">
<span class="divider">\</span><a href="../classes/PHPUtil.Str.html">Str</a>
</li>
</ul>
<div href="../classes/PHPUtil.Str.html" class="element class">
<p class="short_description">Wrapper over php string functions with a consistent argument system</p>
<div class="details">
<p class="long_description"></p>
<h3>
<i class="icon-custom icon-method"></i> Methods</h3>
<a name="_" id="_"></a><div class="element clickable method public _" data-toggle="collapse" data-target="._ .collapse">
<h2>Return output from the last method</h2>
<pre>_() : mixed</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Returns</h3>
<div class="subelement response"><code>mixed</code></div>
</div></div>
</div>
<a name="__construct" id="__construct"></a><div class="element clickable method public __construct" data-toggle="collapse" data-target=".__construct .collapse">
<h2>Constructor</h2>
<pre>__construct(string $string) : <a href="../classes/PHPUtil.Str.html">\PHPUtil\Str</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$string</h4>
<code>string</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code><a href="../classes/PHPUtil.Str.html">\PHPUtil\Str</a></code></div>
</div></div>
</div>
<a name="__invoke" id="__invoke"></a><div class="element clickable method public __invoke" data-toggle="collapse" data-target=".__invoke .collapse">
<h2>Enable using the object as a function</h2>
<pre>__invoke(string $string) : \PHPUtil\$this</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$string</h4>
<code>string</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>\PHPUtil\$this</code></div>
</div></div>
</div>
<a name="__toString" id="__toString"></a><div class="element clickable method public __toString" data-toggle="collapse" data-target=".__toString .collapse">
<h2>Output from the last method</h2>
<pre>__toString() : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Returns</h3>
<div class="subelement response"><code>string</code></div>
</div></div>
</div>
<a name="format" id="format"></a><div class="element clickable method public format" data-toggle="collapse" data-target=".format .collapse">
<h2>Formats a string according to the pattern passed to the str() function</h2>
<pre>format(array $replacements) : \PHPUtil\$this</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>see</th>
<td>\PHPUtil\http://php.net/manual/function.sprintf.php</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$replacements</h4>
<code>array</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>\PHPUtil\$this</code></div>
</div></div>
</div>
<a name="match" id="match"></a><div class="element clickable method public match" data-toggle="collapse" data-target=".match .collapse">
<h2>Check whether a string matches the provided pattern</h2>
<pre>match(string $pattern) : bool</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$pattern</h4>
<code>string</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>bool</code></div>
</div></div>
</div>
<a name="reg_replace" id="reg_replace"></a><div class="element clickable method public reg_replace" data-toggle="collapse" data-target=".reg_replace .collapse">
<h2>String replacement via a regular expression</h2>
<pre>reg_replace(mixed $pattern, mixed $replacement) : \PHPUtil\$this</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>see</th>
<td>\PHPUtil\http://php.net/manual/function.preg-replace.php</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$pattern</h4>
<code>mixed</code>
</div>
<div class="subelement argument">
<h4>$replacement</h4>
<code>mixed</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>\PHPUtil\$this</code></div>
</div></div>
</div>
<a name="replace" id="replace"></a><div class="element clickable method public replace" data-toggle="collapse" data-target=".replace .collapse">
<h2>Do a basic string replacement</h2>
<pre>replace(mixed $pattern, mixed $replacement) : \PHPUtil\$this</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8">
<p class="long_description"></p>
<table class="table table-bordered"><tr>
<th>see</th>
<td>\PHPUtil\http://php.net/manual/function.str-replace.php</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$pattern</h4>
<code>mixed</code>
</div>
<div class="subelement argument">
<h4>$replacement</h4>
<code>mixed</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>\PHPUtil\$this</code></div>
</div></div>
</div>
<h3>
<i class="icon-custom icon-property"></i> Properties</h3>
<a name="%24original" id="$original"> </a><div class="element clickable property protected $original" data-toggle="collapse" data-target=".$original .collapse">
<h2>Original string to be modified</h2>
<pre>$original : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="span8"><p class="long_description"></p></div></div>
</div>
</div>
</div>
</div>
</div>
<div class="row"><footer class="span12">
Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a2</a> and<br>
generated on 2013-01-31T15:19:19-05:00.<br></footer></div>
</div>
</body>
</html>

567
docs/css/bootstrap-responsive.css vendored

@ -0,0 +1,567 @@
/*!
* Bootstrap Responsive v2.0.0
*
* Copyright 2012 Twitter, Inc
* Licensed under the Apache License v2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
* Designed and built with all the love in the world @twitter by @mdo and @fat.
*/
.hidden {
display: none;
visibility: hidden;
}
@media (max-width: 480px) {
.nav-collapse {
-webkit-transform: translate3d(0, 0, 0);
}
.page-header h1 small {
display: block;
line-height: 18px;
}
input[class*="span"],
select[class*="span"],
textarea[class*="span"],
.uneditable-input {
display: block;
width: 100%;
height: 28px;
/* Make inputs at least the height of their button counterpart */
/* Makes inputs behave like true block-level elements */
-webkit-box-sizing: border-box;
/* Older Webkit */
-moz-box-sizing: border-box;
/* Older FF */
-ms-box-sizing: border-box;
/* IE8 */
box-sizing: border-box;
/* CSS3 spec*/
}
.input-prepend input[class*="span"], .input-append input[class*="span"] {
width: auto;
}
input[type="checkbox"], input[type="radio"] {
border: 1px solid #ccc;
}
.form-horizontal .control-group > label {
float: none;
width: auto;
padding-top: 0;
text-align: left;
}
.form-horizontal .controls {
margin-left: 0;
}
.form-horizontal .control-list {
padding-top: 0;
}
.form-horizontal .form-actions {
padding-left: 10px;
padding-right: 10px;
}
.modal {
position: absolute;
top: 10px;
left: 10px;
right: 10px;
width: auto;
margin: 0;
}
.modal.fade.in {
top: auto;
}
.modal-header .close {
padding: 10px;
margin: -10px;
}
.carousel-caption {
position: static;
}
}
@media (max-width: 768px) {
.container {
width: auto;
padding: 0 20px;
}
.row-fluid {
width: 100%;
}
.row {
margin-left: 0;
}
.row > [class*="span"], .row-fluid > [class*="span"] {
float: none;
display: block;
width: auto;
margin: 0;
}
}
@media (min-width: 768px) and (max-width: 980px) {
.row {
margin-left: -20px;
*zoom: 1;
}
.row:before, .row:after {
display: table;
content: "";
}
.row:after {
clear: both;
}
[class*="span"] {
float: left;
margin-left: 20px;
}
.span1 {
width: 42px;
}
.span2 {
width: 104px;
}
.span3 {
width: 166px;
}
.span4 {
width: 228px;
}
.span5 {
width: 290px;
}
.span6 {
width: 352px;
}
.span7 {
width: 414px;
}
.span8 {
width: 476px;
}
.span9 {
width: 538px;
}
.span10 {
width: 600px;
}
.span11 {
width: 662px;
}
.span12, .container {
width: 724px;
}
.offset1 {
margin-left: 82px;
}
.offset2 {
margin-left: 144px;
}
.offset3 {
margin-left: 206px;
}
.offset4 {
margin-left: 268px;
}
.offset5 {
margin-left: 330px;
}
.offset6 {
margin-left: 392px;
}
.offset7 {
margin-left: 454px;
}
.offset8 {
margin-left: 516px;
}
.offset9 {
margin-left: 578px;
}
.offset10 {
margin-left: 640px;
}
.offset11 {
margin-left: 702px;
}
.row-fluid {
width: 100%;
*zoom: 1;
}
.row-fluid:before, .row-fluid:after {
display: table;
content: "";
}
.row-fluid:after {
clear: both;
}
.row-fluid > [class*="span"] {
float: left;
margin-left: 2.762430939%;
}
.row-fluid > [class*="span"]:first-child {
margin-left: 0;
}
.row-fluid .span1 {
width: 5.801104972%;
}
.row-fluid .span2 {
width: 14.364640883%;
}
.row-fluid .span3 {
width: 22.928176794%;
}
.row-fluid .span4 {
width: 31.491712705%;
}
.row-fluid .span5 {
width: 40.055248616%;
}
.row-fluid .span6 {
width: 48.618784527%;
}
.row-fluid .span7 {
width: 57.182320438000005%;
}
.row-fluid .span8 {
width: 65.74585634900001%;
}
.row-fluid .span9 {
width: 74.30939226%;
}
.row-fluid .span10 {
width: 82.87292817100001%;
}
.row-fluid .span11 {
width: 91.436464082%;
}
.row-fluid .span12 {
width: 99.999999993%;
}
input.span1, textarea.span1, .uneditable-input.span1 {
width: 32px;
}
input.span2, textarea.span2, .uneditable-input.span2 {
width: 94px;
}