uawdijnntqw1x1x1
IP : 216.73.217.31
Hostname : webm015.cluster127.gra.hosting.ovh.net
Kernel : Linux webm015.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
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
OS : Linux
PATH:
/
home
/
pteabiscqq
/
www
/
libraries
/
.
/
.
/
.
/
quix
/
src
/
FormEngine
/
Transformers
/
MarginTransformer.php
/
/
<?php namespace ThemeXpert\FormEngine\Transformers; class MarginTransformer extends TextTransformer { /** * Get the margin type. * * @param $config * @param string $type * * @return string */ public function getType($config, $type = "") { return "margin"; } /** * Get the margin value. * * @param $config * * @return array|mixed|null */ public function getValue($config) { $value = $this->get($config, "value", null); if(!isset($config['responsive'])) { $config['responsive'] = false; } $responsive = true; if ($value === null) { return [ "top" => "", "left" => "", "bottom" => "", "right" => "", "responsive" => $responsive, "responsive_preview" => false, "tablet" => [ "top" => "", "left" => "", "bottom" => "", "right" => "" ], "phone" => [ "top" => "", "left" => "", "bottom" => "", "right" => "" ] ]; } else { $value = (array)$value; if(!isset($value["responsive_preview"])) { $value["responsive_preview"] = false; $value["responsive"] = $responsive; $value["tablet"] = [ "top" => "", "left" => "", "bottom" => "", "right" => "" ]; $value["phone"] = [ "top" => "", "left" => "", "bottom" => "", "right" => "" ]; } } $value = array_pick($value, ["top", "left", "bottom", "right", "desktop", "phone", "tablet", "responsive_preview", "responsive"], true); //exclusive return $value; } }
/home/pteabiscqq/www/libraries/./././quix/src/FormEngine/Transformers/MarginTransformer.php