コード例 #1
0
ファイル: card.php プロジェクト: ryanknu/Cuber
	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
ファイル: Product.php プロジェクト: kasuparu/wp-timecraft
 /**
  * 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();
 }