/** * Deletes plugin all actions * * @param string $pluginKey */ public function deleteActionsByPluginKey($pluginKey = null) { if ($pluginKey == null) { $actions = $this->actionDao->findAll(); } else { $actions = $this->actionDao->findActionsByPluginKey($pluginKey); } foreach ($actions as $a) { $this->actionDao->deleteById($a->id); } return true; }
public function findAllAddedActions() { return $this->actionDao->findAll(); }