public function init() { $request = $this->getRequest(); if ($request->getParam('plupload', false)) { Plupload::OnMultiFileUpload(CS_TMP_TPL_DIR); } return $this; }