function prepare() { $api = new Api_Corp_Corporation_Sheet($this->registry); $api->getCorporationInfoPrivate($commonInfo, $divisions, $walletDivisions); $this->corpInfo = $commonInfo; $this->divisions = $divisions; $this->walletDivisions = $walletDivisions; }
public function prepareCorpInfo($corporationId) { $api = new Api_Corp_Corporation_Sheet($this->registry); $api->getCorporationInfo($corporationId, $commonInfo); $this->corpInfo = $commonInfo; }