Element_Choice_Query::__construct( awsmug\Torro_Forms\DB_Objects\Element_Choices\Element_Choice_Manager $manager )

Constructor.

Description

Sets the manager instance and assigns the defaults.

See also

Parameters

$manager

(awsmug\Torro_Forms\DB_Objects\Element_Choices\Element_Choice_Manager) (Required) The manager instance for the model query.

Source

File: src/db-objects/element-choices/element-choice-query.php

	public function __construct( $manager ) {
		parent::__construct( $manager );

		$this->query_var_defaults['orderby']      = array( 'sort' => 'ASC' );
		$this->query_var_defaults['form_id']      = '';
		$this->query_var_defaults['container_id'] = '';
		$this->query_var_defaults['element_id']   = '';
	}

Changelog

Changelog
Version Description
1.0.0 Introduced.