function parse($value) { return PaddingSideValue::init($value); }
function parse($value) { if ($value === 'inherit') { return CSS_PROPERTY_INHERIT; } return PaddingSideValue::init($value); }
function init($data) { $value = new PaddingValue(); $value->top = PaddingSideValue::init($data[0]); $value->right = PaddingSideValue::init($data[1]); $value->bottom = PaddingSideValue::init($data[2]); $value->left = PaddingSideValue::init($data[3]); return $value; }