public function __construct($id, $report, $name, $description, $rank, $plugin) { parent::__construct($id, $report, $name, $description, $rank); $this->charts = null; $this->chart_to_edit = null; $this->plugin = $plugin; $this->chart_factories = array(); }
/** * Constructor * * @param Plugin $plugin the parent cardwall plugin * @param int $id the id of the renderer * @param Report $report the id of the report * @param string $name the name of the renderer * @param string $description the description of the renderer * @param int $rank the rank * @param int $field_id the field id * @param bool $enable_qr_code Display the QR code to ease usage of tablets */ public function __construct(Plugin $plugin, Cardwall_OnTop_IConfig $config, $id, $report, $name, $description, $rank, $field_id, $enable_qr_code) { parent::__construct($id, $report, $name, $description, $rank); $this->plugin = $plugin; $this->field_id = $field_id; $this->enable_qr_code = $enable_qr_code; $this->config = $config; }
/** * Constructor * * @param int $id the id of the renderer * @param Report $report the id of the report * @param string $name the name of the renderer * @param string $description the description of the renderer * @param int $rank the rank * @param int $chnuksz the size of the chunk (Browse X at once) * @param bool $multisort use multisort? */ public function __construct($id, $report, $name, $description, $rank, $chunksz, $multisort) { parent::__construct($id, $report, $name, $description, $rank); $this->chunksz = $chunksz; $this->multisort = $multisort; }