Generator/Action/Generic/ExcelAction.php 1 location
|
@@ 14-24 (lines=11) @@
|
| 11 |
|
* @author Piotr Gołębiewski <[email protected]> |
| 12 |
|
* @author Bob van de Vijver |
| 13 |
|
*/ |
| 14 |
|
class ExcelAction extends Action |
| 15 |
|
{ |
| 16 |
|
public function __construct($name, BaseBuilder $builder) |
| 17 |
|
{ |
| 18 |
|
parent::__construct($name, 'generic'); |
| 19 |
|
|
| 20 |
|
$this->setClass('btn-info'); |
| 21 |
|
$this->setIcon('fa-file-excel-o'); |
| 22 |
|
$this->setLabel('action.generic.excel'); |
| 23 |
|
} |
| 24 |
|
} |
| 25 |
|
|
Generator/Action/Generic/NewAction.php 1 location
|
@@ 13-23 (lines=11) @@
|
| 10 |
|
* @author cedric Lombardot |
| 11 |
|
* @author Piotr Gołębiewski <[email protected]> |
| 12 |
|
*/ |
| 13 |
|
class NewAction extends Action |
| 14 |
|
{ |
| 15 |
|
public function __construct($name, BaseBuilder $builder) |
| 16 |
|
{ |
| 17 |
|
parent::__construct($name, 'generic'); |
| 18 |
|
|
| 19 |
|
$this->setClass('btn-primary'); |
| 20 |
|
$this->setIcon('fa-plus'); |
| 21 |
|
$this->setLabel('action.generic.new'); |
| 22 |
|
} |
| 23 |
|
} |
| 24 |
|
|
Generator/Action/Generic/SaveAction.php 1 location
|
@@ 12-23 (lines=12) @@
|
| 9 |
|
* This class describes generic Save action |
| 10 |
|
* @author Piotr Gołębiewski <[email protected]> |
| 11 |
|
*/ |
| 12 |
|
class SaveAction extends Action |
| 13 |
|
{ |
| 14 |
|
public function __construct($name, BaseBuilder $builder) |
| 15 |
|
{ |
| 16 |
|
parent::__construct($name, 'generic'); |
| 17 |
|
|
| 18 |
|
$this->setSubmit(true); |
| 19 |
|
$this->setClass('btn-success'); |
| 20 |
|
$this->setIcon('fa-check'); |
| 21 |
|
$this->setLabel('action.generic.save'); |
| 22 |
|
} |
| 23 |
|
} |
| 24 |
|
|
Generator/Action/Generic/SaveAndAddAction.php 1 location
|
@@ 12-23 (lines=12) @@
|
| 9 |
|
* This class describes generic Save and Add action |
| 10 |
|
* @author Piotr Gołębiewski <[email protected]> |
| 11 |
|
*/ |
| 12 |
|
class SaveAndAddAction extends Action |
| 13 |
|
{ |
| 14 |
|
public function __construct($name, BaseBuilder $builder) |
| 15 |
|
{ |
| 16 |
|
parent::__construct($name, 'generic'); |
| 17 |
|
|
| 18 |
|
$this->setSubmit(true); |
| 19 |
|
$this->setClass('btn-primary'); |
| 20 |
|
$this->setIcon('fa-check'); |
| 21 |
|
$this->setLabel('action.generic.save-and-add'); |
| 22 |
|
} |
| 23 |
|
} |
| 24 |
|
|
Generator/Action/Generic/SaveAndListAction.php 1 location
|
@@ 12-23 (lines=12) @@
|
| 9 |
|
* This class describes generic Save and List action |
| 10 |
|
* @author Piotr Gołębiewski <[email protected]> |
| 11 |
|
*/ |
| 12 |
|
class SaveAndListAction extends Action |
| 13 |
|
{ |
| 14 |
|
public function __construct($name, BaseBuilder $builder) |
| 15 |
|
{ |
| 16 |
|
parent::__construct($name, 'generic'); |
| 17 |
|
|
| 18 |
|
$this->setSubmit(true); |
| 19 |
|
$this->setClass('btn-info'); |
| 20 |
|
$this->setIcon('fa-check'); |
| 21 |
|
$this->setLabel('action.generic.save-and-list'); |
| 22 |
|
} |
| 23 |
|
} |
| 24 |
|
|
Generator/Action/Generic/SaveAndShowAction.php 1 location
|
@@ 13-24 (lines=12) @@
|
| 10 |
|
* @author Piotr Gołębiewski <[email protected]> |
| 11 |
|
* @author Bob van de Vijver <[email protected]> |
| 12 |
|
*/ |
| 13 |
|
class SaveAndShowAction extends Action |
| 14 |
|
{ |
| 15 |
|
public function __construct($name, BaseBuilder $builder) |
| 16 |
|
{ |
| 17 |
|
parent::__construct($name, 'generic'); |
| 18 |
|
|
| 19 |
|
$this->setSubmit(true); |
| 20 |
|
$this->setClass('btn-info'); |
| 21 |
|
$this->setIcon('fa-check'); |
| 22 |
|
$this->setLabel('action.generic.save-and-show'); |
| 23 |
|
} |
| 24 |
|
} |
| 25 |
|
|