コード例 #1
0
    /**
     * @return array
     */
    public function getMMSettings()
    {
        /* We want to store minimal amount of data
         * We just store some identifiers values in a raw array.
         * The order of parameters is hard-coded
         *         country
         *         customer_type_id
         *         specialities         // first one is the main_speciality
         *      empty slot - formelly used by ratings
         *      app list
         *      module info closed by user
         */

        return array(
            $this->attribute('country'),
            $this->customerTypeId(),
            $this->getSpecialities(),
            null, //$this->getRatings(),
            $this->getApplicationList(),
            $this->getPreference('closedInfoModule'),
            ClusterTool::ClusterIdentifier(),
            $this->userSpecialityId(),
            $this->getHideMedicalNewsDemo(),
        );
    }