Lists
AppendToList
<?php /** * Append value to the end of List * * @param string $name Key name * @param mixin $value Value * @return boolean */ ?>
PrependToList
<?php /** * Append value to the head of List * * @param string $name Key name * @param mixin $value Value * @return boolean */ ?>
GetListLength
<?php /** * Return the length of the List value at key * * @param string $name * @return integer */ ?>
GetList
<?php /** * Get List by key * * @throws Rediska_Command_Exception * @param string $name Key name * @param integer $start Start index * @param integer $end End index * @return array */ ?>
TruncateList
<?php /** * Trim the list at key to the specified range of elements * * @throws Rediska_Command_Exception * @param string $name Key name * @param integer $start Start index * @param integer $end End index * @return boolean */ ?>
GetFromList
<?php /** * Return element of List by index at key * * @throws Rediska_Command_Exception * @param string $name Key name * @param integer $index Index * @return mixin */ ?>
SetToList
<?php /** * Set a new value as the element at index position of the List at key * * @throws Rediska_Command_Exception * @param string $name Key name * @param mixin $value Value * @param integer $index Index * @return boolean */ ?>
DeleteFromList
<?php /** * Delete element from list by value at key * * @throws Rediska_Command_Exception * @param $name Key name * @param $value Element value * @param $count Limit of deleted items * @return integer */ ?>
ShiftFromList
<?php /** * Return and remove the first element of the List at key * * @param string $name Key name * @return mixin */ ?>
PopFromList
<?php /** * Return and remove the last element of the List at key * * @param string $name Key name * @param string $pushToName Push value to another key * @return mixin */ ?>
Sort
<?php /** * Get sorted elements contained in the List, Set, or Sorted Set value at key. * * @param string $name Key name * @param string|array $value Options or SORT query string (http://code.google.com/p/redis/wiki/SortCommand). * Important notes for SORT query string: * 1. If you set Rediska namespace option don't forget add it to key names. * 2. If you use more then one connection to Redis servers, it will choose by key name, * and key by you pattern's may not present on it. * @return array */ ?>