Advertisement
Guest User

Untitled

a guest
Sep 3rd, 2015
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. $objPHPExcel->setActiveSheetIndex(0)->rangeToArray('A1:C3');
  2.  
  3. /**
  4. * Create array from a range of cells
  5. *
  6. * @param string $pRange Range of cells (i.e. "A1:B10"),
  7. * or just one cell (i.e. "A1")
  8. * @param mixed $nullValue Value returned in the array entry
  9. * if a cell doesn't exist
  10. * @param boolean $calculateFormulas Should formulas be calculated?
  11. * @param boolean $formatData Should formatting be applied to cell values?
  12. * @param boolean $returnCellRef False - Return a simple array of rows
  13. * and columns indexed by number counting
  14. * from zero
  15. * True - Return rows and columns indexed by
  16. * their actual row and column IDs
  17. * @return array
  18. */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement