📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
e-ticaretv11.demodesign.com.tr
/
system
/
library
/
journal3
/
options
📝
borderradius.php
← Geri Dön
<?php namespace Journal3\Options; use Journal3\Utils\Arr; use Journal3\Utils\Str; class BorderRadius extends Option { protected static function parseValue($value, $data = null) { $rtl = Arr::get($data, 'config.rtl') === true; $result = array(); if (($v = Option::parseValue(Arr::get($value, 'custom', ''))) !== '') { $result['border-radius'] = $v; } else { $unit = Option::parseValue(Arr::get($value, 'borderRadiusUnit', 'px')); if ($rtl) { if (($v = Option::parseValue(Arr::get($value, 'border-radius', ''))) !== '') { if ($v && Str::startsWith($v, '__VAR__')) { $v = static::getVariable('radius', $v); } $result['border-radius'] = $v . $unit; } if (($v = Option::parseValue(Arr::get($value, 'border-top-left-radius', ''))) !== '') { $result['border-top-right-radius'] = $v . $unit; } if (($v = Option::parseValue(Arr::get($value, 'border-top-right-radius', ''))) !== '') { $result['border-top-left-radius'] = $v . $unit; } if (($v = Option::parseValue(Arr::get($value, 'border-bottom-right-radius', ''))) !== '') { $result['border-bottom-left-radius'] = $v . $unit; } if (($v = Option::parseValue(Arr::get($value, 'border-bottom-left-radius', ''))) !== '') { $result['border-bottom-right-radius'] = $v . $unit; } } else { if (($v = Option::parseValue(Arr::get($value, 'border-radius', ''))) !== '') { if ($v && Str::startsWith($v, '__VAR__')) { $v = static::getVariable('radius', $v); } $result['border-radius'] = $v . $unit; } if (($v = Option::parseValue(Arr::get($value, 'border-top-left-radius', ''))) !== '') { $result['border-top-left-radius'] = $v . $unit; } if (($v = Option::parseValue(Arr::get($value, 'border-top-right-radius', ''))) !== '') { $result['border-top-right-radius'] = $v . $unit; } if (($v = Option::parseValue(Arr::get($value, 'border-bottom-right-radius', ''))) !== '') { $result['border-bottom-right-radius'] = $v . $unit; } if (($v = Option::parseValue(Arr::get($value, 'border-bottom-left-radius', ''))) !== '') { $result['border-bottom-left-radius'] = $v . $unit; } } } return $result ? $result : null; } }
💾 Kaydet
İptal
📝 Yeniden Adlandır
İptal
Kaydet
🔐 Dosya İzinleri (chmod)
İzin Değeri:
Hızlı Seçim:
777
755
644
600
777
= Herkes okur/yazar/çalıştırır
755
= Sahip tam, diğerleri okur/çalıştırır
644
= Sahip okur/yazar, diğerleri okur
600
= Sadece sahip okur/yazar
İptal
Uygula