function _getOtherFields($tname = FALSE) { if ($tname === FALSE) { return parent::_getOtherFields(FALSE) . ", idOwner"; } else { return parent::_getOtherFields($tname) . ", " . $tname . ".idOwner "; } }
function _getOtherFields($tname = FALSE) { $parent = parent::_getOtherFields($tname); if ($tname === FALSE) { return $parent . ", idCourse, prerequisites," . " isTerminator, idParam, visible, milestone, width, height, publish_from, publish_to, access, publish_for "; } else { return $parent . ", " . $tname . ".idCourse," . $tname . ".prerequisites," . $tname . ".isTerminator, " . $tname . ".idParam, " . $tname . ".visible, " . $tname . ".milestone, " . $tname . ".width, " . $tname . ".height, " . $tname . ".publish_from, " . $tname . ".publish_to, " . $tname . ".access, " . $tname . ".publish_for "; } }