%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
| Server IP : 54.36.91.62 / Your IP : 216.73.217.162 Web Server : Apache System : Linux webm002.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : wellingtpa ( 97533) PHP Version : 7.4.33 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/wellingtpa/www/wp-content/plugins/kata-plus/includes/styler/lib/breakpoints/ |
Upload File : |
<?php
namespace Styler\BreakPoints;
/**
* Styler BreakPoint Class.
*
* @author ClimaxThemes
* @package Styler
* @since 1.0.0
*/
// Don't load directly.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
class BreakPoint {
private $name;
private $label;
private $size;
private $pattern;
private $direction = 'max';
private $is_enabled = false;
/**
* Get Name
*
* @since 3.2.0
*
* @return string
*/
public function get_name() {
return apply_filters( 'styler/breakPoints/breakpoint/name' , $this->name, $this );
}
/**
* Is Enabled
*
* Check if the breakpoint is enabled or not. The breakpoint instance receives this data from
* the Breakpoints Manager.
*
* @return bool $is_enabled class variable
*/
public function is_enabled() {
return apply_filters( 'styler/breakPoints/breakpoint/is_enabled' , $this->is_enabled, $this );
}
/**
* Get Label
*
* Retrieve the breakpoint label.
*
* @since 3.2.0
*
* @return string $label class variable
*/
public function get_label() {
return apply_filters( 'styler/breakPoints/breakpoint/label' , $this->label, $this );
}
/**
* Get Style Pattern
*
* Retrieve the breakpoint pattern.
*
* @since 3.2.0
*
* @return string $pattern class variable
*/
public function get_pattern() {
return apply_filters( 'styler/breakPoints/breakpoint/pattern' , $this->pattern, $this );
}
/**
* Get Size
*
* Retrieve the breakpoint size.
*
* @since 3.2.0
*
* @return string $size class variable
*/
public function get_size() {
return apply_filters( 'styler/breakPoints/breakpoint/size' , $this->size, $this );
}
/**
* Get Direction
*
* Returns the Breakpoint's direction ('min'/'max').
*
* @since 3.2.0
*
* @return string $direction class variable
*/
public function get_direction() {
return apply_filters( 'styler/breakPoints/breakpoint/direction' , $this->direction, $this );
}
public function __construct( $args ) {
$this->name = $args['name'];
$this->label = $args['label'];
$this->direction = $args['direction'];
$this->pattern = $args['pattern'];
$this->is_enabled = $args['is_enabled'];
$this->size = $args['size'];
}
} // Class