WIP ADAPT PHP8.2
This commit is contained in:
parent
c7cbbe4ff5
commit
95c8672c0f
12 changed files with 36 additions and 16 deletions
|
|
@ -92,6 +92,7 @@
|
|||
@endcode
|
||||
*
|
||||
*/
|
||||
#[AllowDynamicProperties]
|
||||
abstract class Data_SQL
|
||||
{
|
||||
var $cn; //! Database connection
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@ class DatabaseCore
|
|||
/**< return value */
|
||||
private $is_open; /*!< true is connected */
|
||||
public $sql; //!< last SQL stmt executed
|
||||
|
||||
var $array;
|
||||
/*** Connect to a database return an connx to db or false if it fails
|
||||
*
|
||||
* @param string $p_user Username
|
||||
|
|
|
|||
|
|
@ -50,6 +50,7 @@
|
|||
* - FILE
|
||||
* - SPAN
|
||||
*/
|
||||
#[AllowDynamicProperties]
|
||||
class HtmlInput
|
||||
{
|
||||
|
||||
|
|
@ -69,6 +70,14 @@ class HtmlInput
|
|||
var $ctrl; /*!<$ctrl is the control to update (see js_search_card_control) */
|
||||
var $tabindex;
|
||||
var $require;
|
||||
|
||||
var $width;
|
||||
var $heigh;
|
||||
var $attribute;
|
||||
var $id;
|
||||
var $style;
|
||||
var $css_size;
|
||||
|
||||
function __construct($p_name="", $p_value="", $p_id="")
|
||||
{
|
||||
$this->name=$p_name;
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@ $text->set_attribute('account','field');
|
|||
class IPoste extends HtmlInput
|
||||
{
|
||||
var $nb_row; // number of row, default 1
|
||||
|
||||
var $jrn; //!< concerned ledger
|
||||
function __construct($p_name="",$p_value="",$p_id="")
|
||||
{
|
||||
$this->name=$p_name;
|
||||
|
|
|
|||
|
|
@ -100,16 +100,16 @@ class Manage_Table_SQL
|
|||
const UPDATABLE=1;
|
||||
const VISIBLE=2;
|
||||
|
||||
private $icon_mod; //!< place of right or left the icon update or mod, default right, accepted value=left,right,first,custom column for mod
|
||||
private $icon_del; //!< place of right or left the icon update or mod, default right, accepted value=left,right
|
||||
private $dialogbox_style; //!< style of the dialog box
|
||||
private $button_add_top; //!< place of the button add on the top, by default true
|
||||
protected $icon_mod; //!< place of right or left the icon update or mod, default right, accepted value=left,right,first,custom column for mod
|
||||
protected $icon_del; //!< place of right or left the icon update or mod, default right, accepted value=left,right
|
||||
protected $dialogbox_style; //!< style of the dialog box
|
||||
protected $button_add_top; //!< place of the button add on the top, by default true
|
||||
protected $title; //! < give the title of the diabox , default is Data
|
||||
private $cssclass; //! CSS class for the dialog box
|
||||
private $current_row; //! in display_row and display_custom_row, it is the current row which is used
|
||||
private $a_col_option; //!< Extra to add to the column : CSS Style , CSS class, javascript ,...
|
||||
private $a_header_option; //!< Extra to add to the column Header : CSS Style , CSS class, javascript ,...
|
||||
|
||||
protected $cssclass; //! CSS class for the dialog box
|
||||
protected $current_row; //! in display_row and display_custom_row, it is the current row which is used
|
||||
protected $a_col_option; //!< Extra to add to the column : CSS Style , CSS class, javascript ,...
|
||||
protected $a_header_option; //!< Extra to add to the column Header : CSS Style , CSS class, javascript ,...
|
||||
protected $callback;
|
||||
/**
|
||||
* @brief Constructor : set the label to the column name,
|
||||
* the order of the column , set the properties and the
|
||||
|
|
|
|||
|
|
@ -36,6 +36,8 @@ class Select_Box
|
|||
private $filter; //!< allow a dynamic not case sensitive search
|
||||
var $default_value;
|
||||
private $position; //!< change depending if we are in an absolute block or not
|
||||
protected $style_box;
|
||||
protected $value;
|
||||
|
||||
/**
|
||||
* Default constructor
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ define ('CODE_EXCP_DUPLICATE',901);
|
|||
|
||||
class Single_Record
|
||||
{
|
||||
public $name;
|
||||
/**
|
||||
* Constructor $p_name will be set to $this->name, it is also the name
|
||||
* of the tag hidden in a form
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue