/usr/share/php/kohana2/modules/flot/libraries/Flot_Dataset.php is in libkohana2-modules-php 2.3.4-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | <?php defined('SYSPATH') OR die('No direct access allowed.');
/**
* Flot dataset class.
*
* $Id: Flot_Dataset.php 3769 2008-12-15 00:48:56Z zombor $
*
* @package Flot
* @author Woody Gilk
* @copyright (c) 2007-2008 Kohana Team
* @license http://kohanaphp.com/license.html
*/
class Flot_Dataset_Core {
// Plot points
public $data = array();
/**
* Add a plot point to this set.
*
* @chainable
* @param numeric x-axis plot position
* @param numeric y-axis plot position
* @return object
*/
public function add($x, $y)
{
$this->data[] = array($x, $y);
return $this;
}
} // End Flot Dataset
|