/** * Load the list of occurrence attributes into a static variable. * By maintaining a single list of attributes we can track which have already * been output. * @param array $readAuth Read authorisation tokens. * @param integer $surveyId ID of the survey to load occurrence attributes for. */ protected static function loadOccAttrs($readAuth, $surveyId) { if (!isset(self::$occAttrs)) { $attrArgs = array('valuetable' => 'occurrence_attribute_value', 'attrtable' => 'occurrence_attribute', 'key' => 'occurrence_id', 'fieldprefix' => 'occAttr', 'extraParams' => $readAuth, 'survey_id' => $surveyId); self::$occAttrs = data_entry_helper::getAttributes($attrArgs, false); } }
public static function getFixedBlankPage($id, $caption) { return iform_mobile_sample_occurrence::get_blank_page($id, $caption); }