PHP Classes

File: admin/trellostatus.php

Recommend this page to a friend!
  Packages of Michael Beck   XOOPS Publisher Module   admin/trellostatus.php   Download  
File: admin/trellostatus.php
Role: Example script
Content type: text/plain
Description: Example script
Class: XOOPS Publisher Module
Publish static HTML content and article with XOOPS
Author: By
Last change:
Date: 9 months ago
Size: 419 bytes
 

Contents

Class file image Download
<?php declare(strict_types=1);

use
Xmf\Request;
use
XoopsModules\Publisher\TrelloManagement;

require_once
__DIR__ . '/admin_header.php';

$xoopsDb = \XoopsDatabaseFactory::getDatabaseConnection();

$trelloManagement = new TrelloManagement($xoopsDb);

$statusId = Request::getInt('statusId', 0, 'GET');
$itemId = Request::getInt('itemId', 0, 'GET');

$result = $trelloManagement->editTaskStatus($statusId, $itemId);