__construct() public method

public __construct ( Component $component )
$component Component
Ejemplo n.º 1
0
 /**
  * @param RenderInterface $wrapable
  * @param $width
  * @param $color
  */
 public function __construct($wrapable, $width, $color)
 {
     parent::__construct($wrapable);
     $this->width = $width;
     $this->color = $color;
 }
Ejemplo n.º 2
0
 public function __construct(Component $component)
 {
     parent::__construct($component);
     $this->addedState = 'Added State';
 }
Ejemplo n.º 3
0
 public function __construct(Component $component)
 {
     parent::__construct($component);
 }
Ejemplo n.º 4
0
 /**
  * @see Base
  */
 public function __construct($string, $options = array(), $messages = array())
 {
     $this->string = $string;
     $this->tokens = $this->tokenize($string);
     parent::__construct($options, $messages);
 }
Ejemplo n.º 5
0
 function __construct($f)
 {
     parent::__construct($f);
     $this->getImageSize();
 }
Ejemplo n.º 6
0
 function __construct($file, array $styles = array("thumb" => "100x100"))
 {
     parent::__construct($file);
     $this->styles = preg_grep("/\\d+x\\d+/", $styles);
 }
Ejemplo n.º 7
0
 function __construct($component)
 {
     parent::__construct($component);
 }