public function callHandler($handler_id, array $data)
    {
        try {
            $handlers = $this->getHandlers();
            $method = isset($data['step']) ? 'install_' . $data['step'] : 'install';
            $result = Handler::call($handlers, $handler_id, $method, array($data, $this->db));
        } catch (Exception $ex) {
            $result = array();
        }

        return (array) $result;
    }
public function callHandler($handler_id, array $data)
    {
        try {
            $handlers = $this->getHandlers();
            $method = isset($data['step']) ? 'install_' . $data['step'] : 'install';
            $result = Handler::call($handlers, $handler_id, $method, array($data, $this->db));
        } catch (Exception $ex) {
            $result = array();
        }

        return (array) $result;
    }
public function callHandler ( $ handler_id , array $ data ) { try { $ handlers = $ this -> getHandlers ( ) ; $ method = isset ( $ data [ 'step' ] ) ? 'install_' . $ data [ 'step' ] : 'install' ; $ result = Handler :: call ( $ handlers , $ handler_id , $ method , array ( $ data , $ this -> db ) ) ; } catch ( Exception $ ex ) { $ result = array ( ) ; } return ( array ) $ result ; }
Process installation by calling a handler
@param string $handler_id
@param array $data
@return array
Process installation by calling a handler