PATH:
home
/
letacommog
/
rachat-or-bourgenbresse
/
wp-content
/
themes
/
dt-the7
/
inc
/
extensions
/
less-vars
<?php // File Security Check if ( ! defined( 'ABSPATH' ) ) { exit; } if ( ! class_exists( 'Presscore_Lib_LessVars_Composition', false ) ) : class Presscore_Lib_LessVars_Composition { protected $parts = array(); public function __construct( $parts = null ) { if ( null === $parts ) { return; } if ( is_array( $parts ) ) { foreach ( $parts as $part ) { $this->add( $part ); } } else { $this->add( $parts ); } } public function add( $part ) { $this->parts[] = $part; } public function __call( $method, $args ) { $is_getter = 'get' === substr( $method, 0, 3 ); $res = array(); foreach ( $this->parts as $part ) { if ( ! is_object( $part ) ) { $res[] = $part; } else if ( is_callable( array( $part, $method ) ) ) { $res[] = call_user_func_array( array( $part, $method ), $args ); } } if ( $is_getter ) { return $res; } return $this; } } endif;
[+]
..
[-] class-manager.php
[edit]
[-] class-builder.php
[edit]
[-] .htaccess
[edit]
[-] class-composition.php
[edit]
[-] class-color.php
[edit]
[-] class-number.php
[edit]
[-] class-font.php
[edit]
[-] class-factory.php
[edit]
[-] class-lessphp-functions.php
[edit]
[-] interface-manager.php
[edit]
[-] class-image.php
[edit]
[-] less-functions.php
[edit]