| Conditions | 1 |
| Paths | 1 |
| Total Lines | 22 |
| Code Lines | 17 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 4 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 19 | public function getData($selection, $activePane) |
||
| 20 | { |
||
| 21 | $rwAct = $selection->getRowFrom(); // Active row |
||
| 22 | $colAct = $selection->getColFrom(); // Active column |
||
| 23 | $irefAct = 0; // Active cell ref |
||
| 24 | $cref = 1; // Number of refs |
||
| 25 | |||
| 26 | $data = pack( |
||
| 27 | "CvvvvvvCC", |
||
| 28 | $activePane, |
||
| 29 | $rwAct, |
||
| 30 | $colAct, |
||
| 31 | $irefAct, |
||
| 32 | $cref, |
||
| 33 | $selection->getRowFrom(), |
||
| 34 | $selection->getRowTo(), |
||
| 35 | $selection->getColFrom(), |
||
| 36 | $selection->getColTo() |
||
| 37 | ); |
||
| 38 | |||
| 39 | return $this->getFullRecord($data); |
||
| 40 | } |
||
| 41 | } |
||
| 42 |