コード例 #1
0
ファイル: FieldNavigation.php プロジェクト: samsoncms/api
 /**
  * FieldNavigation constructor.
  * @param array $filteringIDs Collection of entity identifiers for filtering
  */
 public function __construct($filteringIDs = array())
 {
     parent::__construct($GLOBALS['__core']->getContainer()->get('query'), Field::ENTITY, Field::F_PRIMARY, Navigation::F_PRIMARY, CMS::FIELD_NAVIGATION_RELATION_ENTITY, $filteringIDs);
 }
コード例 #2
0
ファイル: MaterialNavigation.php プロジェクト: rmolodyko/api
 /**
  * MaterialNavigation constructor
  * @param array $filteringIDs Collection of entity identifiers for filtering
  * @param string $identifier Entity identifier
  */
 public function __construct($filteringIDs = array(), $identifier = '\\samson\\cms\\CMSMaterial')
 {
     parent::__construct(new dbQuery(), $identifier, Material::F_PRIMARY, Navigation::F_PRIMARY, CMS::MATERIAL_NAVIGATION_RELATION_ENTITY, $filteringIDs);
 }
コード例 #3
0
ファイル: FieldNavigation.php プロジェクト: rmolodyko/api
 /**
  * FieldNavigation constructor.
  * @param array $filteringIDs Collection of entity identifiers for filtering
  */
 public function __construct($filteringIDs = array())
 {
     parent::__construct(new dbQuery(), Field::ENTITY, Field::F_PRIMARY, Navigation::F_PRIMARY, CMS::FIELD_NAVIGATION_RELATION_ENTITY, $filteringIDs);
 }
コード例 #4
0
ファイル: MaterialNavigation.php プロジェクト: samsoncms/api
 /**
  * MaterialNavigation constructor
  * @param array $filteringIDs Collection of entity identifiers for filtering
  * @param string $identifier Entity identifier
  */
 public function __construct($filteringIDs = array(), $identifier = Material::class)
 {
     parent::__construct($GLOBALS['__core']->getContainer()->get('query'), $identifier, Material::F_PRIMARY, Navigation::F_PRIMARY, CMS::MATERIAL_NAVIGATION_RELATION_ENTITY, $filteringIDs);
 }