__construct() public method

public __construct ( )
示例#1
0
 /**
  *
  * @param int $keyIndex specifies which column should be used as a key
  */
 function __construct($key)
 {
     parent::__construct();
     $this->key = $key;
 }