Lines Matching refs:src
215 $src =& $this->_getOrderFor($id);
216 …if (src == null) throw new ErrorException("isFirst() - item not found in any of the order arrays");
217 $first = reset($src);
229 $src =& $this->_getOrderFor($id);
230 … if (src == null) throw new ErrorException("isLast() - item not found in any of the order arrays");
231 $last = end($src);
241 $src =& $this->_getOrderFor($id);
242 if (src == null) return false;
245 $index = array_search($id, $src);
248 if(count($src) > $index) {
249 array_splice($src, $index+2, 0, $src[$index]);
250 array_splice($src, $index, 1);
262 $src =& $this->_getOrderFor($id);
263 if (src == null) return false;
266 $index = array_search($id, $src);
269 if ((count($src) > $index) && ($index>0)) {
270 array_splice($src, $index-1, 0, $src[$index]);
271 array_splice($src, $index+1, 1);