Файловый менеджер - Редактировать - /home/tuudkjt/globeasy/wp-includes/ID3/wpdrill.zip
Назад
PK DO,]��DC C core/composer.jsonnu ��� { "name": "wpdrill\/core", "description": "A toolset for WPDrill", "type": "library", "license": "MIT", "keywords": [ "wordpress", "plugin", "framework" ], "autoload": { "psr-4": { "Rvx\\WPDrill\\": "src\/" } }, "authors": [ { "name": "Nahid Bin Azhar", "email": "nahid.dns@gmail.com" } ], "minimum-stability": "dev", "require": { "php": ">=7.4 <8.6", "psr\/container": "^1.0", "php-di\/php-di": "^6.4", "twig\/twig": "^3.0 <3.8", "hassankhan\/config": "^3.1", "usmanhalalit\/viocon": "1.0.*@dev", "nyholm\/psr7": "^1.8", "nyholm\/psr7-server": "^1.1", "symfony\/console": "^5.4", "symfony\/process": "^5.4" } }PK DO,]���- - core/src/Models/Model.phpnu ��� <?php namespace Rvx\WPDrill\Models; use Rvx\WPDrill\DB\QueryBuilder\QueryBuilderHandler; use Rvx\WPDrill\Facade; /** * @method static self select(string ...$columns) * @method static array|object|null get() * @method static \stdClass|null first() * @method static \stdClass|null findAll(string $fieldName, $value) * @method static \stdClass|null find($value, $fieldName = 'id') * @method static int count() * @method static array|string insert(array $data) * @method static array|string update(array $data) * @method static array|string updateOrInsert(array $data) * @method static mixed delete() * @method static self where(string $key, $operator = null, $value = null) * @method static self orWhere(string $key, $operator = null, $value = null) * @method static self whereIn(string $key, array $values) * @method static self whereNull(string $key) * @method static QueryBuilderHandler transaction( \Closure $callback ) * @method static void chunk( int $count, callable $callback ); */ abstract class Model extends Facade { /** * @var string */ protected static $table; /** * @var string */ protected $primaryKey = 'id'; public static function getTableName() : string { return static::$table; } public static function getFacadeAccessor() { return QueryBuilderHandler::class; } /** * @param $method * @param $args * @return mixed */ public static function __callStatic($method, $args) { $instance = static::resolveFacadeInstance(static::getFacadeAccessor()); if (!$instance) { throw new \RuntimeException('A facade root has not been set.'); } $instance = $instance->table(self::getTableName()); return \call_user_func_array([$instance, $method], $args); } } PK DO,].l'2� � core/src/Models/PostType.phpnu ��� <?php namespace Rvx\WPDrill\Models; class PostType extends Model { protected static $table = 'posts'; public static ?string $postType = null; public static function __callStatic($method, $args) { $instance = parent::__callStatic($method, $args); if (self::$postType === null) { return $instance; } return $instance->where('post_type', self::$postType); } } PK DO,]�� � '