| Server IP : 185.143.234.238 / Your IP : 185.215.232.195 Web Server : nginx/1.22.1 System : Linux server2065 6.1.0-35-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.137-1 (2025-05-07) x86_64 User : www-data ( 33) PHP Version : 8.2.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/bcandle/wp-content/plugins/jet-engine/includes/classes/ |
Upload File : |
<?php
/**
* Class ro implement single object of the repeater query item
*/
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
die;
}
#[AllowDynamicProperties]
class Jet_Engine_Queried_Repeater_Item {
/**
* Index of specific item in current query
*
* @var integer
*/
private $_item_ID = 0;
public function __construct( $item, $item_id, $object_id = 0, $query_id = 0 ) {
foreach ( get_object_vars( $item ) as $prop => $value) {
$this->$prop = $value;
}
$this->_item_ID = $query_id;
if ( $object_id ) {
$this->_item_ID .= '-' . $object_id;
}
$this->_item_ID .= '-' . $item_id;
}
public function get_id() {
return $this->_item_ID;
}
}