__construct() public method

public __construct ( $leftRightOrFull, $innerOuterOrCross, $table, $tablePrimaryKey, $fromTableForeignKey, $natural = '' )
コード例 #1
0
ファイル: Columnar.php プロジェクト: evoke-php/evoke-php
 /**
  * Construct a Columnar join object.
  *
  * @param string[] $columns
  * @param array    $keys
  * @param string   $jointKey
  * @param bool     $useAlphaNumMatch
  */
 public function __construct(array $columns, array $keys = ['id'], $jointKey = 'joint_data', $useAlphaNumMatch = true)
 {
     parent::__construct($useAlphaNumMatch);
     $this->columns = array_flip($columns);
     $this->jointKey = $jointKey;
     $this->keys = array_flip($keys);
 }
コード例 #2
0
ファイル: JoinWith.php プロジェクト: netucz/slovicka
 public function __construct($entityClassName, $alias, $withCondition)
 {
     parent::__construct($entityClassName, $alias);
     $this->withCondition = $withCondition;
 }