Пример #1
0
	public function __construct($card)
	{
		parent::__construct($card);
		$this->keys = array_keys($this->data);
		foreach( $this->keys as $key )
		{
			if ( array_key_exists( $key, $_GET ) )
			{
				$this->Mutate( $key, $_GET[$key] );
				$this->data[$key] = $_GET[$key];
			}
		}
	}
Пример #2
0
 /**
  * Set the card type
  *
  * @since 1.0.0
  *
  * @return void
  */
 public function __construct()
 {
     parent::__construct(static::TYPE);
 }
Пример #3
0
 function __construct()
 {
     $this->handle_inbox();
     parent::__construct();
 }