atdrupal/efq-wrapper
最新稳定版本:v1.0
Composer 安装命令:
composer require atdrupal/efq-wrapper
包简介
README 文档
README
A simple wrapper for Drupal's EntityFieldQuery class.
Base on atdrupal\efq_wrapper\EntityHintEFQ, we can generate classes those support autocomplete:
<?php /** * @method where__property__pid() * @method where__property__type() * @method where__property__label() * @method where__property__created() * @method where__property__changed() * @method where__property__url() * @method where__property__user() * @method sort__property__pid($direction = "ASC") * @method sort__property__type($direction = "ASC") * @method sort__property__label($direction = "ASC") * @method sort__property__created($direction = "ASC") * @method sort__property__changed($direction = "ASC") * @method sort__property__url($direction = "ASC") * @method sort__property__user($direction = "ASC") */ abstract class Profile2EntityHintEFQ extends \atdrupal\efq_wrapper\EntityHintEFQ { protected $type = 'profile2'; } /** * @method Profile2OrganisationEntityHintEFQ where__field__field_organisation_name__value($value, $op = NULL) * @method Profile2OrganisationEntityHintEFQ where__field__field_organisation_name__format($value, $op = NULL) * @method Profile2OrganisationEntityHintEFQ sort__field__field_organisation_name__value($direction = "ASC") * @method Profile2OrganisationEntityHintEFQ sort__field__field_organisation_name__format($direction = "ASC") */ class Profile2OrganisationEntityHintEFQ extends Profile2EntityHintEFQ { protected $bundle = 'organisation'; public function __construct() { parent::__construct($this->type, $this->bundle); } }
统计信息
- 总下载量: 32
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-11-02