for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace XoopsModules\Oledrion;
/*
You may not change or alter any portion of this comment or credits
of supporting developers from this source code or any supporting source code
which is considered copyrighted (c) material of the original comment or credit authors.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*/
/**
* oledrion
*
* @copyright {@link https://xoops.org/ XOOPS Project}
* @license {@link http://www.fsf.org/copyleft/gpl.html GNU public license}
* @author Hossein Azizabadi ([email protected])
use XoopsModules\Oledrion;
* Class DeliveryPayment
class DeliveryPayment extends OledrionObject
{
* constructor
* normally, this is called from child classes only
public function __construct()
$this->initVar('dp_id', XOBJ_DTYPE_INT, null, false);
$this->initVar('dp_delivery', XOBJ_DTYPE_INT, null, false);
$this->initVar('dp_payment', XOBJ_DTYPE_INT, null, false);
}
* Retourne les éléments du produits formatés pour affichage
* @param string $format
* @return array
public function toArray($format = 's')
$ret = [];
$ret
$ret = parent::toArray($format);
return $ret;