public function set_queue($langcodes) {
        if (is_array($langcodes)) {
            $this->queue = $langcodes;
        } else if (!empty($langcodes)) {
            $this->queue = array($langcodes);
        }
    }
public function set_queue($langcodes) {
        if (is_array($langcodes)) {
            $this->queue = $langcodes;
        } else if (!empty($langcodes)) {
            $this->queue = array($langcodes);
        }
    }
public function set_queue ( $ langcodes ) { if ( is_array ( $ langcodes ) ) { $ this -> queue = $ langcodes ; } else if ( ! empty ( $ langcodes ) ) { $ this -> queue = array ( $ langcodes ) ; } }
Sets the queue of language packs to be installed

@param string|array $langcodes language code like 'cs' or a list of them
Sets the queue of language packs to be installed