Example #1
0
 /**
  * Inserts value at index position <i>$i</i> in the list. If i is 0, the 
  * <i>$value</i> is prepended to the list. If i is size(), the value is appended to 
  * the list.
  * 
  * @param int $i
  * @param MString $value
  * @throws MWrongTypeException
  */
 public function insert($i, MString $value)
 {
     parent::insert($i, $value);
 }
Example #2
0
 /**
  * Inserts value at index position <i>$i</i> in the list. If i is 0, the 
  * <i>$value</i> is prepended to the list. If i is size(), the value is appended to 
  * the list.
  * 
  * @param int $i
  * @param MFileInfo $value
  * @throws MWrongTypeException
  */
 public function insert($i, MFileInfo $value)
 {
     parent::insert($i, $value);
 }