| 1 |
lars |
1 |
public function getActionsDefault()
|
|
|
2 |
{
|
|
|
3 |
return <?php echo $this->asPhp(isset($this->config['actions']) ? $this->config['actions'] : array()) ?>;
|
|
|
4 |
<?php unset($this->config['actions']) ?>
|
|
|
5 |
}
|
|
|
6 |
|
|
|
7 |
public function getFormActions()
|
|
|
8 |
{
|
|
|
9 |
return <?php echo $this->asPhp(isset($this->config['form']['actions']) ? $this->config['form']['actions'] : array('_delete' => null, '_list' => null, '_save' => null, '_save_and_add' => null)) ?>;
|
|
|
10 |
<?php unset($this->config['form']['actions']) ?>
|
|
|
11 |
}
|
|
|
12 |
|
|
|
13 |
public function getNewActions()
|
|
|
14 |
{
|
|
|
15 |
return <?php echo $this->asPhp(isset($this->config['new']['actions']) ? $this->config['new']['actions'] : array()) ?>;
|
|
|
16 |
<?php unset($this->config['new']['actions']) ?>
|
|
|
17 |
}
|
|
|
18 |
|
|
|
19 |
public function getEditActions()
|
|
|
20 |
{
|
|
|
21 |
return <?php echo $this->asPhp(isset($this->config['edit']['actions']) ? $this->config['edit']['actions'] : array()) ?>;
|
|
|
22 |
<?php unset($this->config['edit']['actions']) ?>
|
|
|
23 |
}
|
|
|
24 |
|
|
|
25 |
public function getListObjectActions()
|
|
|
26 |
{
|
|
|
27 |
return <?php echo $this->asPhp(isset($this->config['list']['object_actions']) ? $this->config['list']['object_actions'] : array('_edit' => null, '_delete' => null)) ?>;
|
|
|
28 |
<?php unset($this->config['list']['object_actions']) ?>
|
|
|
29 |
}
|
|
|
30 |
|
|
|
31 |
public function getListActions()
|
|
|
32 |
{
|
|
|
33 |
return <?php echo $this->asPhp(isset($this->config['list']['actions']) ? $this->config['list']['actions'] : array('_new' => null)) ?>;
|
|
|
34 |
<?php unset($this->config['list']['actions']) ?>
|
|
|
35 |
}
|
|
|
36 |
|
|
|
37 |
public function getListBatchActions()
|
|
|
38 |
{
|
|
|
39 |
return <?php echo $this->asPhp(isset($this->config['list']['batch_actions']) ? $this->config['list']['batch_actions'] : array('_delete' => null)) ?>;
|
|
|
40 |
<?php unset($this->config['list']['batch_actions']) ?>
|
|
|
41 |
}
|