/** * Gets the content info for a list of nodes * @param mixed array of node ids * @param mixed array of options. * Options flags: * showVm => appends visitor message node info. * Such as isVisitorMessage flag indicating if node is visitor message and vm_userInfo from the user the visitor message was posted for. * withParent => appends information from the parent. This info will append the 'parentConversation' info if the node is a comment. * * @return mixed array of content records **/ public function getContentforNodes($nodeList, $options = false) { if (empty($nodeList)) { return array(); } $content = $this->library->getContentforNodes($nodeList, $options); $content = $this->validateNodeList($content); $this->library->removePrivateDataFromNodeList($content); return $content; }