li3

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

Contents

  • ../

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

Overrides lithium\util\Collection::_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

Not sure what those other
guys were talking about but –
hey can you guys be quiet?
I have the microphone. It's my
turn to talk. What? No, you can
grab a snack after I am done…

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