li3

NewsDocumentationVersionsPresentationsCommunityDevelopment
  • Documentation
  • Framework API (1.2.x)
  • lithium
  • data
  • collection
  • MultiKeyRecordSet
  • _init()

Contents

  • ../

lithium\data\collection\MultiKeyRecordSet::_init()

Overrides lithium\core\ObjectDeprecated::_init()
protected method

Initializes the record set and uses the database connection to get the column list contained in the query that created this object.

Returns

void

Related

  • lithium\data\collection\RecordSet::$_columns

Source

	protected function _init() {
		parent::_init();
		if ($this->_result) {
			$this->_columns = $this->_columnMap();
		}
	}
GitHub / Twitter / Reddit / Stack Overflow
Testimonial Image

Be your own giant,
with an un–giant framework.

Pretty much everything is (c) 2009-2025 and beyond, the Union of RAD.