In NetBeans, Phpredis's Code hints feature

Source: Internet
Author: User
The file is placed under the phpruntime/.

1.redis.php

<?phpclass redis{Public Function __construct () {} public Function connect () {} public Function pconnect () {} public Function Close () {} public Function ping () {}/** * gets key Data * * @param string $key * @return String If $key does not exist, returns (BOOL) false */Public function get ($key) {}/** * Set string value for a key * set Keyn     Ame datalength Data * (SET Bruce paitoubing: Save Key to Burce, * string length of 10 a string paitoubing to the database), * Data maximum cannot exceed 1G.    * * @param string $key * @param string $val * @return BOOL */Public function set ($key, $val) {}     /** * SETNX differs from set by: * Set can create and update key's value, * and setnx if key does not exist, then create key with value data * * @param string $key * @param string $val * @return BOOL */Public Function Setex ($key, $val) {} public Function setnx () {     }/** * reads old data and updates new data.     * Note that the old data is returned! * * @param string $key * @param mix $newValue * @return Mix/false If there is no old data, return(BOOL) false */Public function Getset ($key, $newValue) {} public Function Randomkey () {}/** * Rename key Name     says that if new key already exists, execution fails. */Public Function Renamekey () {} public Function Renamenx () {} public Function GetMultiple () {}/** * Determine if a key exists * @return BOOL */Public function exists ($key) {} public Function Delete () {}/** * Auto-increment function    With atomic operation, it is appropriate to use "counter" * @param string $key * @return int Increment value */Public Function incr ($key) {} /** * The value of the key is increased by the specified value * @param string $key * @param int $int * @return int increment value */pub    Lic function Incrby ($key, $int) {}/** * self-decrement key value * * @param string $key * @return int self-subtraction value */ Public Function Decr ($key) {}/** * The key value is reduced by the specified value * @param string $key * @param int $int * @re turn int self-decrement value */Public Function Decrby ($key, $int) {}/** * Returns the data type of a key element * (none: not present, STring: Character, List,set,zset,hash) * However, my test results are int 0/1 * @param string $key * @return int */Public FU     Nction type ($key) {} public function append () {} public Function GetRange () {} public Function SetRange () {} Public Function Getbit () {} public Function Setbit () {} public Function strlen () {} public Function GetKey S () {} public Function sort () {} public Function Sortasc () {} public Function Sortascalpha () {}    Ction Sortdesc () {} public Function Sortdescalpha () {} public Function Lpush () {} public Function Rpush () {} Public Function Lpushx () {} public Function rpushx () {} public Function Lpop () {} public Function Rpop () { Public Function Blpop () {} public Function Brpop () {} public Function lsize () {} public Function Lremove () {} public Function Listtrim () {} public Function LGet () {} public Function Lgetrange () {} public Functio n LSet () {} public FUnction Linsert () {} public Function Sadd () {} public Function ssize () {} public Function Sremove () {} pub Lic function Smove () {} public Function SPop () {} public Function Srandmember () {} Public Function Scontains ( ) {} public Function smembers () {} public Function SInter () {} public Function Sinterstore () {} public func    tion Sunion () {} public Function Sunionstore () {} public Function Sdiff () {} public Function Sdiffstore () {} Public Function SetTimeout () {} public Function Save () {} public Function BgSave () {} public function lasts Ave () {} public Function flushdb () {} public Function Flushall () {}/** * Returns the total number of keys for the current database * @retu RN int */Public Function dbsize () {} public Function Auth () {}/** * Find a key and how long it will expire, return seconds * never expire,     Returns-1; * * @param string $key * @return int */Public function TTL ($key) {} public function persist () {}/ * * Return REdis the current state. * Includes version number, CPU usage, memory consumption and so on ... * @return array */Public function info () {}/** * Select, switch to another database * @param i     NT $dbID */Public Function Select ($dbID =0) {}/** * Move one key to another library.  */Public Function Move () {} public Function bgrewriteaof () {} public Function slaveof () {} public function Mset () {} public Function msetnx () {} public Function Rpoplpush () {} public Function Zadd () {} Ction ZDelete () {} public Function Zrange () {} public Function Zreverserange () {} public Function Zrangebyscor E () {} public Function Zrevrangebyscore () {} public Function Zcount () {} Public Function Zdeleterangebyscore ( {} public Function Zdeleterangebyrank () {} public Function Zcard () {} public Function Zscore () {} public    function Zrank () {} public Function Zrevrank () {} public Function Zinter () {} public Function zunion () {} Public Function Zincrby () {} public funCtion expireat () {} public Function Hget () {} public Function Hset () {} public Function hsetnx () {} public  function Hdel () {} public Function Hlen () {} public Function Hkeys () {} public Function hvals () {} public    function Hgetall () {} public Function hexists () {} public Function Hincrby () {} public Function Hmset () {} Public Function Hmget () {} public Function multi () {} public Function discard () {} public Function exec () { Public Function Pipeline () {} public Function watch () {} public Function unwatch () {} public Function pub Lish () {} public Function subscribe () {} public Function unsubscribe () {} public Function getOption () {} p     ublic function SetOption () {} public Function open () {} public Function Popen () {}/** * Returns the length of a List * * @param string $key * @return Returns the length of a List */Public Function Llen ($key) {} public Function Sgetme Mbers () {} public FuNction mget () {}/** * Set the expiration time of a key (in seconds), * (EXPIRE Bruce 1000: Set Bruce this key1000 seconds after the system automatically deleted) * * @param stri ng $key * @param int $TTL */Public function expire ($key, $ttl =-1) {} public Function Zunionstore () {} p ublic function Zinterstore () {} public Function Zremove () {} public Function Zrem () {} public Function Zremove Rangebyscore () {} public Function Zremrangebyscore () {} public Function Zremrangebyrank () {} public Function Z     Size () {}/** * intercepts a key's substring * * @param string $key key name.  * @param integer $start start position * @param integer $end End position */Public Function substr (string $key, Integer $start, Integer $end) {} Public Function rename () {}/** * Delete a key * * @param string $key */Publ  IC function del (string $key) {}/** * Returns the matching key list * foo*: Find keys at the beginning of Foo, and also support *ad*cd* this way * @param string $pattern * @return Array */Public function keys (strinG $pattern) {} public Function Lrem () {} public Function LTrim () {} public Function lindex () {} public func tion Lrange () {} public Function SCard () {} public Function Srem () {} public Function Sismember () {} publi C function Zrevrange () {}}
  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.