コード例 #1
0
 /**
  * @param RedBeanModelJoinTablesQueryAdapter $joinTablesAdapter
  * @param RedBeanModelSelectQueryAdapter $selectQueryAdapter
  * @param null | integer $currencyConversionType
  */
 public function __construct(RedBeanModelJoinTablesQueryAdapter $joinTablesAdapter, RedBeanModelSelectQueryAdapter $selectQueryAdapter, $currencyConversionType = null)
 {
     assert('is_int($currencyConversionType) || $currencyConversionType == null');
     parent::__construct($joinTablesAdapter, $currencyConversionType);
     $this->selectQueryAdapter = $selectQueryAdapter;
 }
コード例 #2
0
 /**
  * @param RedBeanModelJoinTablesQueryAdapter $joinTablesAdapter
  * @param null | string $filtersStructure
  */
 public function __construct(RedBeanModelJoinTablesQueryAdapter $joinTablesAdapter, $filtersStructure)
 {
     assert('is_string($filtersStructure)');
     parent::__construct($joinTablesAdapter);
     $this->filtersStructure = $filtersStructure;
 }