You are here

function PclZip::deleteByIndex in Quiz 6.6

Same name and namespace in other branches
  1. 6.5 includes/moodle/lib/pclzip/pclzip.lib.php \PclZip::deleteByIndex()

File

includes/moodle/lib/pclzip/pclzip.lib.php, line 1064

Class

PclZip

Code

function deleteByIndex($p_index) {

  //--(MAGIC-PclTrace)--//PclTraceFctStart(__FILE__, __LINE__, "PclZip::deleteByIndex", "index='$p_index'");
  $p_list = $this
    ->delete(PCLZIP_OPT_BY_INDEX, $p_index);

  // ----- Return

  //--(MAGIC-PclTrace)--//PclTraceFctEnd(__FILE__, __LINE__, $p_list);
  return $p_list;
}