Prado\Data\SqlMap\DataMapper\TLazyLoadList::fetchListData PHP Method

fetchListData() protected method

Load the data by executing the mapped statement.
protected fetchListData ( )
    protected function fetchListData()
    {
        if ($this->_loaded == false) {
            $this->_innerList = $this->_statement->executeQueryForList($this->_connection, $this->_param);
            $this->_loaded = true;
            //replace the target property with real list
            TPropertyAccess::set($this->_target, $this->_propertyName, $this->_innerList);
        }
    }