255], [['extra_res_info'], 'string', 'max' => 50], [['crowd_type'], 'string', 'max' => 2], ]; } /** * @inheritdoc */ public function attributeLabels() { return [ 'id' => 'ID', 'tourist_id' => 'Tourist ID', 'create_user_id' => 'Create User ID', 'create_time' => 'Create Time', 'update_user_id' => 'Update User ID', 'update_time' => 'Update Time', 'cancel_flag' => 'Cancel Flag', 'res_type' => 'Res Type', 'top_res_id' => 'Top Res ID', 'sub_res_id' => 'Sub Res ID', 'sub_res_id1' => 'Sub Res Id1', 'select_res_ids' => 'Select Res Ids', 'select_res_ids1' => 'Select Res Ids1', 'extra_res_info' => 'Extra Res Info', 'crowd_type' => 'Crowd Type', 'max_num' => 'Max Num', 'day_from_start' => 'Day From Start', 'serial_id' => 'Serial ID', ]; } public static function getOperaTouristDetailAll($tourist_id) { $data = self::findAll(['tourist_id' => $tourist_id, 'cancel_flag' => 0]); return $data; } }