Пример #1
0
 /**
  * padding constructor.
  * 1 value: $margin
  * 2 values: $topbottom und $leftright
  * 4 values: $left, $top, $right, $bottom
  * @param $padding
  * @param null $topbottom
  * @param null $right
  * @param null $bottom
  */
 public function __construct($padding, $topbottom = null, $right = null, $bottom = null)
 {
     parent::__construct("padding", $padding, $topbottom, $right, $bottom);
 }
Пример #2
0
 public function __construct($margin, $topbottom = null, $right = null, $bottom = null)
 {
     parent::__construct("margin", $margin, $topbottom, $right, $bottom);
 }